Borderou de evaluare (job #622224)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Capitala | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 21 dec. 2021 15:46:49 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:3:1: error: 'ifstream' does not name a type
3 | ifstream fin("capitala.in");
| ^~~~~~~~
main.cpp:4:1: error: 'ofstream' does not name a type
4 | ofstream fout("capitala.out");
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:22:5: error: 'fin' was not declared in this scope
22 | fin>>n;
| ^~~
main.cpp:32:5: error: 'sort' was not declared in this scope; did you mean 'short'?
32 | sort(m,m+vf,cmp);
| ^~~~
| short
main.cpp:64:5: error: 'fout' was not declared in this scope
64 | fout<<(max-1)<<' '<<vf<<'\n';
| ^~~~