Borderou de evaluare (job #2748419)
Utilizator | Data | 30 aprilie 2021 17:38:04 | |
---|---|---|---|
Problema | Sea | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void b_sort(int, double)':
main.cpp:16:43: error: 'dist' was not declared in this scope
if (dist(fx - v1[i].x, v1[i].y) > dist(fx - v1[i + 1].x, v1[i + 1].y)) {
^
main.cpp: In function 'int main()':
main.cpp:43:56: error: 'dist' was not declared in this scope
ans = sqrt(dist(v1[fn - 1].x - fx, v1[fn - 1].y));
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !