Borderou de evaluare (job #738216)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Căutare binară | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 15 oct. 2023 13:11:28 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:9:5: error: 'fin' was not declared in this scope
9 | fin >> n;
| ^~~
main.cpp:29:12: error: 'fout' was not declared in this scope
29 | fout << maxpoz[x] << '\n';
| ^~~~
main.cpp:32:11: error: 'fout' was not declared in this scope
32 | fout << -1 << '\n';
| ^~~~
main.cpp:38:11: error: 'fout' was not declared in this scope
38 | fout << maxpoz[x] << '\n';
| ^~~~
main.cpp:46:15: error: 'fout' was not declared in this scope
46 | fout << maxpoz[v[i]] << '\n';
| ^~~~
main.cpp:54:9: error: 'fout' was not declared in this scope
54 | fout << minpoz[x] << '\n';
| ^~~~