#include<bits/stdc++.h> using namespace std; int main() { int m; cin>>m; int s=0,n=1; while(s<=m) { s+=n; n++; } n--; cout<<n; return 0; }
👎 👎 👎
😄
A AAA
神金
Using your lizikid universal account