Untitled

mail@pastecode.io avatar
unknown
c_cpp
a year ago
156 B
2
Indexable
Never
#include <iostream>
using namespace std;
int main()  
 {
	int n;
	int b = 0;
	int i;
	cin >> n;
	for (i = 1; n <= b; i++)
		b += i;
	cout << n;
}