Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
99265 徐齐力 [在线测评解答教程] 闰年 C++ Wrong Answer 1 MS 264 KB 292 2024-11-24 18:25:56

Tests(0/11):


Code:

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() using namespace std; int main(){ int a; cin>>a; if(a%400==0||(a%4==0&&a%100!=0)) { cout<<"leap year"; } else { cout<<"not leap year"; } return 0; }


Run Info:

------Input------
2 2023 3059
------Answer-----
No No
------Your output-----
not leap year