Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
82466 sh25_fengyn [在线测评解答教程] 闰年 C++ 通过 1 MS 248 KB 238 2026-01-14 16:39:44

Tests(11/11):


#include<bits/stdc++.h> using namespace std; int main(){ int t; cin>>t; while(t--){ int n; cin>>n; if(n%4!=0)cout<<"No\n"; else if(n%100!=0)cout<<"Yes\n"; else if(n%400!=0)cout<<"No\n"; else cout<<"Yes\n"; } }


测评信息: