Borderou de evaluare (job #615636)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Sir9i | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 11 nov. 2021 17:36:26 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:9:1: error: two or more data types in declaration of 'v'
9 | int int v[50001];
| ^~~
main.cpp: In function 'int main()':
main.cpp:19:13: error: 'v' was not declared in this scope
19 | in>>v[i];
| ^
main.cpp:27:13: error: 'v' was not declared in this scope
27 | sum=v[i]+v[i+1]+v[i+2];
| ^
main.cpp:36:12: error: 'v' was not declared in this scope
36 | if(v[j]==0)
| ^
main.cpp:39:13: error: 'v' was not declared in this scope
39 | S=S+v[j]%10;
| ^