不会,!@#¥%……&……&*()《》?:“”{}|、、。,12345678909959959959995999599995
#include <bits/stdc++.h>
#include <math.h>
using namespace std;
int main()
{
int s;
cin >> s;
int k = floor(sqrt(2 * s + 0.25) - 0.5);
while (k * (k + 1) / 2 < s)
{
k++;
}
int x = k * (k + 1) / 2 - s;
if (x == 0)
{
cout << k + 1 << endl;
}
else
{
cout << k << endl;
}
return 0;
}