0_0_36492236_24314.cpp: In function 'int main()':
0_0_36492236_24314.cpp:7:37: error: 'scanf' was not declared in this scope
while(scanf("%d/%d/%d/",&y,&m,&d)!=EOF){
^
0_0_36492236_24314.cpp:7:40: error: 'EOF' was not declared in this scope
while(scanf("%d/%d/%d/",&y,&m,&d)!=EOF){
^
0_0_36492236_24314.cpp:17:9: error: 'cout' was not declared in this scope
cout<<sum<<endl;
^
0_0_36492236_24314.cpp:17:20: error: 'endl' was not declared in this scope
cout<<sum<<endl;
^
|