Borderou de evaluare (job #2892751)
Utilizator | Data | 23 aprilie 2022 14:55:43 | |
---|---|---|---|
Problema | Sea | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:1:1: error: 'sing' does not name a type
1 | sing namespace std;
| ^~~~
main.cpp:3:1: error: 'ifstream' does not name a type
3 | ifstream fin("sea.in");
| ^~~~~~~~
main.cpp:4:1: error: 'ofstream' does not name a type
4 | ofstream fout("sea.out");
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:16:5: error: 'fin' was not declared in this scope
16 | fin >> n >> m;
| ^~~
main.cpp:18:5: error: 'fout' was not declared in this scope
18 | fout.precision(4);
| ^~~~
main.cpp:27:5: error: 'sort' was not declared in this scope; did you mean 'short'?
27 | sort(vapoare, vapoare + n, comparator0);
| ^~~~
| short
main.cpp:47:21: error: 'swap' was not declared in this scope
47 | swap(vapoare[j], vapoare[j + 1]);
| ^~~~
main.cpp:52:17: error: 'fixed' was not declared in this scope
52 | fout << fixed << sqrt(vapoare[fn - 1].dist) << '\n';
| ^~~~~
main.cpp:52:26: error: 'sqrt' was not declared in this scope
52 | fout << fixed << sqrt(vapoare[fn - 1].dist) << '\n';
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !