| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 143667 | 马俊潇 | [在线测评解答教程] 闰年 | C++ | Accepted | 1 MS | 268 KB | 284 | 2026-01-17 14:37:10 |
#include<iostream> using namespace std; int main(){ int t,a[10]={}; cin>>t; for(int i=1;i<=t;i++){ cin>>a[t]; if((a[t]%4==0&&a[t]%100!=0)||(a[t]%400==0)){ cout<<"Yes"<<endl; }else{ cout<<"No"<<endl;}} return 0;}