Run ID:147790
提交时间:2026-02-07 18:12:02
#include<iostream> using namespace std; int main() { long long a,b,c; cin>>a>>b>>c; if(a%4==0&&a%100!=0&&b%4==0&&b%100!=0&&c%4==0&&c%100!=0) { cout<<"3"; } else if(a%4==0&&a%100!=0&&b%4==0&&b%100!=0) { cout<<"2"; } else { cout<<"1"; } return 0; }