Borderou de evaluare (job #583880)
| 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:28:16 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:4:9: error: redefinition of 'int n'
4 | int n,a,n,i,k,ok;
| ^
main.cpp:4:5: note: 'int n' previously declared here
4 | int n,a,n,i,k,ok;
| ^
main.cpp: In function 'int main()':
main.cpp:7:5: error: 'fin' 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:13:14: error: 'mx' was not declared in this scope
13 | if(k>mx) {mx=k;}
| ^~
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
16 | fout<<mx;
| ^~