Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
33494 马若兮 判断闰年 C++ 通过 0 MS 240 KB 215 2023-12-09 19:10:46

Tests(1/1):


#include<iostream> using namespace std; int main(){ int a; cin>>a; if(a%4==0 && a%100!=0){ cout<<"yes"; } else if(a%4==0 && a%400==0){ cout<<"yes"; } else{ cout<<"no"; } return 0; }


测评信息: