Borderou de evaluare (job #583878)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Subsecvență crescătoare (clasa a 5-a) | Compilator | cpp-32 |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 1 mar. 2021 15:26:19 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:7:5: error: 'fin' was not declared in this scope
7 | fin>>n>>a;
| ^~~
main.cpp:7:13: error: 'a' was not declared in this scope
7 | fin>>n>>a;
| ^
main.cpp:10:14: error: 'b' was not declared in this scope
10 | fin>>b;
| ^
main.cpp:11:19: error: 'ok' was not declared in this scope
11 | if(a<=b) {ok++;k=ok;}
| ^~
main.cpp:11:24: error: 'k' was not declared in this scope
11 | if(a<=b) {ok++;k=ok;}
| ^
main.cpp:12:15: error: 'ok' was not declared in this scope
12 | else {ok=1;}
| ^~
main.cpp:13:12: error: 'k' was not declared in this scope
13 | if(k>mx) {mx=k;}
| ^
main.cpp:13:14: error: 'mx' was not declared in this scope; did you mean 'x'?
13 | if(k>mx) {mx=k;}
| ^~
| x
main.cpp:16:5: error: 'fout' was not declared in this scope
16 | fout<<mx;
| ^~~~
main.cpp:16:11: error: 'mx' was not declared in this scope; did you mean 'x'?
16 | fout<<mx;
| ^~
| x