Run ID:118349

提交时间:2025-04-27 20:41:05

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