Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
88713 sh25_zhangyj [在线测评解答教程] 闰年 C++ Accepted 1 MS 248 KB 328 2026-05-15 15:34:33

Tests(11/11):


#include <iostream> using namespace std; int main() { int t, year; cin >> t; while (t--) { cin >> year; if ((year % 4 == 0 && year % 100 != 0) || (year % 400 == 0)) { cout << "Yes" << endl; } else { cout << "No" << endl; } } return 0; }


Judgement Protocol: