0_0_27440212_3982.cpp: In function 'int main()':
0_0_27440212_3982.cpp:5:29: error: 'year' was not declared in this scope
while(scanf("%d/%d/%d",&year,&mouth,&day) != EOF)
^
0_0_27440212_3982.cpp:5:35: error: 'mouth' was not declared in this scope
while(scanf("%d/%d/%d",&year,&mouth,&day) != EOF)
^
0_0_27440212_3982.cpp:5:42: error: 'day' was not declared in this scope
while(scanf("%d/%d/%d",&year,&mouth,&day) != EOF)
^
0_0_27440212_3982.cpp:7:6: error: 'sum' was not declared in this scope
sum=0;
^
0_0_27440212_3982.cpp:19:40: error: expected primary-expression before '||' token
case 2:if(a%4==0&&a%100!=0)||(a%400==0)sum+=29; else sum+=28;
^
|