提交时间:2025-06-02 19:07:30
运行 ID: 325126
#include <iostream> using namespace std; int main() { int year; cin >> year; if ((year % 4 == 0 && year % 100 != 0) || (year % 400 == 0)) { cout <<"yes"; } else { cout <<"no"; } return 0; }