Borderou de evaluare (job #2642304)
Utilizator | Data | 14 august 2020 16:51:45 | |
---|---|---|---|
Problema | Elicoptere | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:52:9: error: 'punct' was not declared in this scope
ld dist(punct A, punct B)
^~~~~
main.cpp:52:18: error: 'punct' was not declared in this scope
ld dist(punct A, punct B)
^~~~~
main.cpp:52:25: error: expression list treated as compound expression in initializer [-fpermissive]
ld dist(punct A, punct B)
^
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:64:35: error: 'dist' cannot be used as a function
d=min(d, min(dist(A, B), dist(A, C)));
^
main.cpp:64:47: error: 'dist' cannot be used as a function
d=min(d, min(dist(A, B), dist(A, C)));
^
main.cpp:67:13: error: 'punct' was not declared in this scope
punct inter;
^~~~~
main.cpp:68:13: error: 'inter' was not declared in this scope
inter.x=A.x;
^~~~~
main.cpp:70:35: error: 'dist' cannot be used as a function
d=min(d, dist(A, inter));
^
main.cpp:76:35: error: 'dist' cannot be used as a function
d=min(d, min(dist(A, B), dist(A, C)));
^
main.cpp:76:47: error: 'dist' cannot be used as a function
d=min(d, min(dist(A, B), dist(A, C)));
^
main.cpp:79:13: error: 'punct' was not declared in this scope
punct inter;
^~~~~
main.cpp:80:13: error: 'inter' was not declared in this scope
inter.y=A.y;
^~~~~
main.cpp:82:35: error: 'dist' cannot be used as a function
d=min(d, dist(A, inter));
^
main.cpp: In function 'int Solve()':
main.cpp:181:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !