Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
65816 苏馨怡 判断闰年I C++ Wrong Answer 0 MS 268 KB 186 2024-02-20 14:19:53

Tests(0/1):


Code:

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


Run Info:

------Input------
2012
------Answer-----
leap year
------Your output-----
yes