| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 129910 | 格林老师 | [在线测评解答教程] 闰年 | C++ | Wrong Answer | 2 MS | 272 KB | 265 | 2025-09-06 17:38:40 |
#include <iostream> using namespace std; int main(){ int n,year; cin>>n; for(int i=1;i<=n;i++){ cin>>year; if((year%4==0 && year%100!=0) || year%400==0){ cout<<"yes"; } else{ cout<<"no"; } } }
------Input------
2 2023 3059
------Answer-----
No No
------Your output-----
nono