Borderou de evaluare (job #678864)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Case1 (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 1 dec. 2022 19:31:21 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:13:9: error: 'i' was not declared in this scope
13 | for(i=1;i<=n;i++)
| ^
main.cpp:15:9: error: 'i' was not declared in this scope
15 | for(i=1;i<=n;i)
| ^
main.cpp:20:9: error: 'i' was not declared in this scope
20 | for(i=1;i<=n;i++)
| ^
main.cpp:21:8: error: 'j' was not declared in this scope
21 | {i=j;
| ^
main.cpp:30:11: error: 'cm' was not declared in this scope; did you mean 'm'?
30 | if(c==cm)
| ^~
| m
main.cpp:32:15: error: 'xm' was not declared in this scope; did you mean 'm'?
32 | if (x<xm)
| ^~
| m
main.cpp:37:10: error: 'cm' was not declared in this scope; did you mean 'm'?
37 | if(c>cm){
| ^~
| m
main.cpp:39:9: error: 'xm' was not declared in this scope; did you mean 'm'?
39 | xm=x;
| ^~
| m
main.cpp:42:11: error: 'cnt' was not declared in this scope; did you mean 'int'?
42 | fout<<cnt<<'\n'<<cm<<'\n'<<poz;
| ^~~
| int
main.cpp:42:22: error: 'cm' was not declared in this scope; did you mean 'm'?
42 | fout<<cnt<<'\n'<<cm<<'\n'<<poz;
| ^~
| m