| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 128739 | 杜禹轩 | 15加到第几项 | C++ | Compile Error | 0 MS | 0 KB | 149 | 2025-08-19 14:34:36 |
#include<bits/stdc++.h> using namespace std; int main(){ long long a=0,i=1; while (a<=1000){ a+=i i++ } cout<<i; return 0; }
Main.cc: In function 'int main()': Main.cc:8:3: error: expected ';' before 'i' i++ ^