| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 78043 | 杜奕辰 | 15加到第几项 | C++ | Compile Error | 0 MS | 0 KB | 150 | 2024-06-16 13:59:20 |
#include<iostream> using namespace std; int main(){ int sum=0; int i=1; while(sum<=){ sum+=1; i++; } cout<<i; return 0; }
Main.cc: In function 'int main()':
Main.cc:6:14: error: expected primary-expression before ')' token
while(sum<=){
^