Borderou de evaluare (job #602197)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Culori (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 20 iul. 2021 11:54:52 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:6:14: error: expected ']' before numeric constant
6 | int v[1000000
| ^
| ]
7 | 7];
| ~
main.cpp: In function 'int main()':
main.cpp:17:14: error: 'v' was not declared in this scope
17 | cin>>v[i];
| ^
main.cpp:19:10: error: 'v' was not declared in this scope
19 | sort(v, v+n+1);
| ^