Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
8406 jackrick [在线测评解答教程] 闰年 C++ Wrong Answer 0 MS 268 KB 201 2025-11-30 12:55:49

Tests(0/11):


Code:

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


Run Info:

------Input------
3 2887 1778 1916
------Answer-----
No No Yes
------Your output-----
no