| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 140417 | 傅小轩 | 15听到多少次掌声 | C++ | Compile Error | 0 MS | 0 KB | 281 | 2025-12-14 11:58:55 |
#include<iostream> using namespace std; int main(){ int q=0,x=0,i=0,n=0; while(q+x+j<30){ int f=0; if(q<10){ if(i%1==0){ q++; f=1; } } if(x<10){ if(i%4==0){ n++; } i++; } cout<<n; } return 0; }
Main.cc: In function 'int main()':
Main.cc:5:15: error: 'j' was not declared in this scope
while(q+x+j<30){
^