| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 69423 | Eren7 | [在线测评解答教程] 闰年 | C++ | Accepted | 1 MS | 280 KB | 240 | 2024-04-03 22:42:30 |
#include <iostream> using namespace std; int main(){ int t; cin >> t; while(t--){ int b; cin >> b; if((b%400 == 0) || (b%100 != 0 && b%4 == 0)) cout << "Yes" << endl; else cout << "No" << endl; } return 0; }