Borderou de evaluare (job #737996)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Culori (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 14 oct. 2023 18:49:08 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:9:16: error: expected primary-expression before ']' token
9 | int a[1000-], n, j, k, i, b;
| ^
main.cpp:12:16: error: 'a' was not declared in this scope
12 | fin >> a[i];
| ^
main.cpp:16:16: error: 'a' was not declared in this scope
16 | if(a[j] < a[k]){
| ^
main.cpp:24:17: error: 'a' was not declared in this scope
24 | fout << a[i] << " ";
| ^