Borderou de evaluare (job #687789)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Îngerași (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 17 ian. 2023 16:31:28 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:11:9: error: 'i' was not declared in this scope
11 | for(i=0;i<n;i++)
| ^
main.cpp:11:15: error: 'n' was not declared in this scope
11 | for(i=0;i<n;i++)
| ^
main.cpp:14:19: error: 'mic' was not declared in this scope
14 | if(v[i] < mic)
| ^~~
main.cpp:18:19: error: 'mare' was not declared in this scope
18 | if(v[i] > mare)
| ^~~~
main.cpp:25:24: error: 'mic' was not declared in this scope
25 | if(v[i] != mic)
| ^~~
main.cpp:31:9: error: 'i' was not declared in this scope
31 | for(i=0;i<n-1;i++)
| ^
main.cpp:31:15: error: 'n' was not declared in this scope
31 | for(i=0;i<n-1;i++)
| ^
main.cpp:36:13: error: 'k' was not declared in this scope
36 | k=1;
| ^
main.cpp:40:13: error: 'k' was not declared in this scope
40 | k=0;
| ^
main.cpp:43:8: error: 'k' was not declared in this scope
43 | if(k=1)
| ^
main.cpp:45:19: error: 'i' was not declared in this scope
45 | cout << v[i];
| ^