Borderou de evaluare (job #3171376)
Utilizator | Data | 18 noiembrie 2023 19:39:30 | |
---|---|---|---|
Problema | Cablaj | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'double distance(int, int, int, int)':
main.cpp:17:17: error: 'pow' was not declared in this scope
17 | return sqrt(pow(x1 - x2, 2) + pow(y1 - y2, 2));
| ^~~
main.cpp:17:12: error: 'sqrt' was not declared in this scope
17 | return sqrt(pow(x1 - x2, 2) + pow(y1 - y2, 2));
| ^~~~
main.cpp: In function 'double prim(int)':
main.cpp:24:19: error: 'INFINITY' was not declared in this scope
24 | cost[i] = INFINITY;
| ^~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !