提交时间:2025-09-17 17:25:52
运行 ID: 67374
#include<iostream> using namespace std; int main() { int n, t; for(int j = 1;j <= n;j++) { if((j % 4 == 0 && j % 100 != 0)||j % 400 == 0) { cout<<"Yes"<<endl; return 0; } } cout<<"No"<<endl; return 0; }