| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 20397 | 梅煦洋 | 判断闰年 | C++ | Wrong Answer | 0 | 0 MS | 248 KB | 359 | 2021-06-12 16:12:32 |
#include <iostream> using namespace std; int main(){ int year; cin >> year; if(year % 4 == 0){ if(year % 100 == 0){ if (year % 400 == 0) cout << year << "Yes"; else cout << year << "No"; } else cout << year << "Yes"; } else cout << year << "No"; return 0; }