| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 140383 | 傅小轩 | 15听到多少次掌声 | C++ | Compile Error | 0 MS | 0 KB | 348 | 2025-12-14 11:37:31 |
#include<iostream> using namespace std; int main(){ int a=0,b=0,d=0; int i=l,sum=0; while(i<=10){ a++; if(a>1)a=1; num++; b++; if(b>2)b=1; num++; d++; if(d>4)d=1; num++; if(a==b and a==d){ num++; num+-3; } i++; } cout<<num; return 0; }
Main.cc: In function 'int main()':
Main.cc:5:11: error: 'l' was not declared in this scope
int i=l,sum=0;
^
Main.cc:9:6: error: 'num' was not declared in this scope
num++;
^
Main.cc:22:8: error: 'num' was not declared in this scope
cout<