Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
129883 王垚植 [在线测评解答教程] 闰年 C++ Wrong Answer 1 MS 272 KB 263 2025-09-06 17:20:50

Tests(0/11):


Code:

#include <bits/stdc++.h> using namespace std; int main() { int n,i,n1; cin>>n; for (i=1;i<=n;i++){ cin>>n1; if (i%4==0 || i%400==0){ cout<<"yes"<<endl; } else{ cout<<"no"<<endl; } } }


Run Info:

------Input------
2 2023 3059
------Answer-----
No No
------Your output-----
no no