Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
113720 毛靖平 15加到第几项 C++ Accepted 0 MS 264 KB 181 2025-03-16 13:51:36

Tests(1/1):


Code:

#include<iostream> // cin\cout\endl using namespace std; int main(){ int a=0,c=1; while(a<=1000){ a=a+c; c++; } cout<<c-1; return 0; }