| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 128741 | 李折曦 | 15加到第几项 | C++ | Compile Error | 0 MS | 0 KB | 142 | 2025-08-19 14:35:15 |
#include<bits/stdc++.h> using namespace std; int main(){ int i= 1; while(sum1<=1000){ sum1+=i; i++; } cou<<i; return 0; }
Main.cc: In function 'int main()':
Main.cc:5:8: error: 'sum1' was not declared in this scope
while(sum1<=1000){
^
Main.cc:9:2: error: 'cou' was not declared in this scope
cou<