Borderou de evaluare (job #2642303)

Utilizator victorzarzuZarzu Victor victorzarzu Data 14 august 2020 16:50:32
Problema Elicoptere Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'long double distanta(std::pair<long double, long double>, std::pair<long double, long double>, std::pair<long double, long double>)': main.cpp:58:35: error: 'dist' was not declared in this scope d=min(d, min(dist(A, B), dist(A, C))); ^ main.cpp:61:13: error: 'punct' was not declared in this scope punct inter; ^~~~~ main.cpp:62:13: error: 'inter' was not declared in this scope inter.x=A.x; ^~~~~ main.cpp:64:35: error: 'dist' was not declared in this scope d=min(d, dist(A, inter)); ^ main.cpp:70:35: error: 'dist' was not declared in this scope d=min(d, min(dist(A, B), dist(A, C))); ^ main.cpp:73:13: error: 'punct' was not declared in this scope punct inter; ^~~~~ main.cpp:74:13: error: 'inter' was not declared in this scope inter.y=A.y; ^~~~~ main.cpp:76:35: error: 'dist' was not declared in this scope d=min(d, dist(A, inter)); ^ main.cpp: In function 'int Solve()': main.cpp:175:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ Non zero exit status: 1

Ceva nu functioneaza?