Run ID:155500
提交时间:2026-06-07 13:44:20
#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c,n=0; cin>>a>>b>>c; if(a / 400 == 0 or a / 100 != 0){ if(a / 4 == 0){ n=n+1; }else{ n=n; }else{ if(b / 400 == 0 or b / 100 != 0){ if(b / 4 == 0){ n=n+1; }else{ n=n; }else{ if(c / 400 == 0 or c / 100 != 0){ if(c / 4 == 0){ n=n+1; }else{ n=n; } } } } } } return 0; }