| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 132619 | 张咏灏 | [在线测评解答教程] 闰年 | C++ | Compile Error | 0 MS | 0 KB | 246 | 2025-10-11 18:47:53 |
#include<iostream> using namespace std; int main(){ int t,n; cin>>a; for(int i;i<=t;i++){ cin>>n; if(b%4==0){ cout<<"Yes"; }else{ cout<<"No" } } return 0; }
Main.cc: In function 'int main()':
Main.cc:5:10: error: 'a' was not declared in this scope
cin>>a;
^
Main.cc:8:12: error: 'b' was not declared in this scope
if(b%4==0){
^
Main.cc:12:9: error: expected ';' before '}' token
}
^