Borderou de evaluare (job #767776)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Seif2 (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 13 mar. 2024 13:32:58 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:9:8: error: expected initializer before '>>' token
9 | fin>>n;
| ^~
main.cpp:10:10: error: 'x' was not declared in this scope
10 | fin>>x;
| ^
main.cpp:11:9: error: 'i' was not declared in this scope
11 | for(i=1; i<=n; i++)
| ^
main.cpp:11:17: error: 'n' was not declared in this scope
11 | for(i=1; i<=n; i++)
| ^
main.cpp:13:14: error: 'y' was not declared in this scope
13 | fin>>y;
| ^
main.cpp:14:9: error: 's' was not declared in this scope
14 | s=x*100+y;
| ^
main.cpp:15:14: error: 'mx' was not declared in this scope
15 | if(s>mx)
| ^~
main.cpp:21:11: error: 'mx' was not declared in this scope
21 | fout<<mx
| ^~