| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 118335 | 马珺宇 | [在线测评解答教程] 闰年 | C++ | Wrong Answer | 1 MS | 272 KB | 287 | 2025-04-27 19:56:08 |
#include<bits/stdc++.h> using namespace std; int main(){ int t,a; cin>>t; while(t){ cin>>a; if(a%4==0||a%400==0&&a%100!=0){ cout<<"Yes"<<endl; }else{ cout<<"No"<<endl; } t--; } return 0; }
------Input------
8 1277 3179 3789 1585 1404 2652 1755 1400
------Answer-----
No No No No Yes Yes No No
------Your output-----
No No No No Yes Yes No Yes