Borderou de evaluare (job #707784)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cooler (clasele 9-10) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 16 mar. 2023 11:16:16 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:9:1: error: expected primary-expression before 'int'
9 | int v[Nmax];
| ^~~
main.cpp: In function 'int main()':
main.cpp:27:16: error: 'v' was not declared in this scope
27 | fin >> v[i];
| ^
main.cpp:68:40: error: 'v' was not declared in this scope
68 | for(int j = i; j < n && mp[v[j]] == 0; j++){
| ^