Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
92382 | 123456789asd | [在线测评解答教程] 闰年 | C++ | Compile Error | 0 MS | 0 KB | 204 | 2024-10-02 11:14:28 |
#include <bits/stdc++.h> using namespace std; int main(){ int t,n; cin>>t; for(int q=1;q<=t;q++){ cin>>n; if((n%100!=0&&n%4==0)||n%400==0) cout<<"yes"<<endl; else cout<<"no"<<endl; }
Main.cc: In function 'int main()': Main.cc:11:2: error: expected '}' at end of input } ^