Run ID:5632

提交时间:2024-12-07 15:17:50

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; void oj2(){ int y,n=0; scanf("%d",&y); if(y%100!=0){ n=4-y%4; } else{ n=4-(y/100)%4; } printf("%d",n); } int main(){ oj2(); return 0; }