| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 314004 | 陈信宇 | 【C1-12】今年天数 | C++ | Accepted | 100 | 1 MS | 252 KB | 313 | 2025-03-23 20:03:48 |
#include<bits/stdc++.h> using namespace std; int main() { long long n; int s,b,s1,b1; cin>>n; if(n%100!=0){ if(n%4==0){ cout<<"366"; } else{ cout<<"365"; } } if(n%100==0){ if(n%400==0){ cout<<"366"; } else{ cout<<"365"; } } return 0; }