Borderou de evaluare (job #3146579)
Utilizator | Data | 21 august 2023 19:06:07 | |
---|---|---|---|
Problema | Cele mai apropiate puncte din plan | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int smallest_distance(const std::vector<point>&, const std::vector<point>&)':
main.cpp:26:12: warning: overflow in conversion from 'long double' to 'int' changes value from '8.0e+18l' to '2147483647' [-Woverflow]
26 | return 8e18L;
| ^~~~~
main.cpp: In function 'int main()':
main.cpp:87:20: error: 'setprecision' was not declared in this scope
87 | fout << fixed << setprecision(8) << sqrtl(smallest_distance(points, ySorted)) << '\n';
| ^~~~~~~~~~~~
main.cpp:87:39: error: 'sqrtl' was not declared in this scope; did you mean 'strtol'?
87 | fout << fixed << setprecision(8) << sqrtl(smallest_distance(points, ySorted)) << '\n';
| ^~~~~
| strtol
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !