Run ID:96544
提交时间:2024-11-09 11:17:09
#include<iostream> using namespace std; int main(){ int n,s; for(n=1;s<1000;n++){ s=s+n; } cout<<n;