Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
360000 胡珂 【C1-12】今年天数 C++ 通过 100 4 MS 252 KB 235 2025-11-06 21:40:46

Tests(3/3):


#include <bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; if(n%100==0&&n%400==0){ cout<<"366"<<endl; }else if(n%100!=0&&n%4==0){ cout<<"366"<<endl; } else{ cout<<"365"<<endl; }return 0; }


测评信息: