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