Run ID:96559
提交时间:2024-11-09 11:18:18
#include<iostream> using namespace std; int main(){ long long s=0,i=0; while(s<=1000){ i++; s=s+i; } cout<<i<<endl; return 0; }