Run ID:145689

提交时间:2026-01-25 18:06:05

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