Borderou de evaluare (job #679173)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Poziții (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 2 dec. 2022 20:06:25 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:25:5: error: expected ',' or ';' before 'int'
25 | int n,x,i,monotona;
| ^~~
main.cpp:26:5: error: 'monotona' was not declared in this scope
26 | monotona = 0;
| ^~~~~~~~
main.cpp:27:10: error: 'n' was not declared in this scope
27 | fin>>n;
| ^
main.cpp:29:9: error: 'i' was not declared in this scope
29 | for(i=0;i<n;i++){
| ^
main.cpp:30:14: error: 'x' was not declared in this scope
30 | fin>>x;
| ^