2 solutions
Information
- ID
- 1338
- Time
- 1000ms
- Memory
- 256MiB
- Difficulty
- 5
- Tags
- (None)
- # Submissions
- 163
- Accepted
- 67
- Uploaded By
#include<bits/stdc++.h> using namespace std; int main(){ int year=0; cin>>year; if(year%40&&year%100!=0||year%4000){ printf("1"); }else{ printf("0"); }
By signing up a Hydro universal account, you can submit code and join discussions in all online judging services provided by us.