提交时间:2025-03-23 20:03:48
运行 ID: 314004
#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; }