Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
353729 胡珂 【C1-8】判断闰年 C++ 解答错误 0 1 MS 240 KB 225 2025-09-30 20:36:42

Tests(0/4):


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


测评信息: