Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
313997 梁睿煊 【C1-8】判断闰年 C++ 解答错误 75 1 MS 256 KB 204 2025-03-23 18:37:27

Tests(3/4):


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


测评信息: