Borderou de evaluare (job #2107336)
Utilizator | Data | 17 ianuarie 2018 00:35:06 | |
---|---|---|---|
Problema | Tri | Status | done |
Runda | Lista lui wefgef | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘bool cmpA(Point, Point)’:
user.cpp:17:22: error: ‘struct Point’ has no member named ‘second’
return (1LL * (a.second - A.second) * (b.first - A.first)) < (1LL * (b.second - A.second) * (a.first - A.first));
^
user.cpp:17:46: error: ‘struct Point’ has no member named ‘first’
return (1LL * (a.second - A.second) * (b.first - A.first)) < (1LL * (b.second - A.second) * (a.first - A.first));
^
user.cpp:17:76: error: ‘struct Point’ has no member named ‘second’
return (1LL * (a.second - A.second) * (b.first - A.first)) < (1LL * (b.second - A.second) * (a.first - A.first));
^
user.cpp:17:100: error: ‘struct Point’ has no member named ‘first’
return (1LL * (a.second - A.second) * (b.first - A.first)) < (1LL * (b.second - A.second) * (a.first - A.first));
^
user.cpp: In function ‘bool cmpB(Point, Point)’:
user.cpp:22:22: error: ‘struct Point’ has no member named ‘second’
return (1LL * (a.second - B.second) * (b.first - B.first)) < (1LL * (b.second - B.second) * (a.first - B.first));
^
user.cpp:22:46: error: ‘struct Point’ has no member named ‘first’
return (1LL * (a.second - B.second) * (b.first - B.first)) < (1LL * (b.second - B.second) * (a.first - B.first));
^
user.cpp:22:76: error: ‘struct Point’ has no member named ‘second’
return (1LL * (a.second - B.second) * (b.first - B.first)) < (1LL * (b.second - B.second) * (a.first - B.first));
^
user.cpp:22:100: error: ‘struct Point’ has no member named ‘first’
return (1LL * (a.second - B.second) * (b.first - B.first)) < (1LL * (b.second - B.second) * (a.first - B.first));
^
user.cpp: In function ‘bool cmpC(Point, Point)’:
user.cpp:27:22: error: ‘struct Point’ has no member named ‘second’
return (1LL * (a.second - C.second) * (b.first - C.first)) < (1LL * (b.second - C.second) * (a.first - C.first));
^
user.cpp:27:46: error: ‘struct Point’ has no member named ‘first’
return (1LL * (a.second - C.second) * (b.first - C.first)) < (1LL * (b.second - C.second) * (a.first - C.first));
^
user.cpp:27:76: error: ‘struct Point’ has no member named ‘second’
return (1LL * (a.second - C.second) * (b.first - C.first)) < (1LL * (b.second - C.second) * (a.first - C.first));
^
user.cpp:27:100: error: ‘struct Point’ has no member named ‘first’
return (1LL * (a.second - C.second) * (b.first - C.first)) < (1LL * (b.second - C.second) * (a.first - C.first));
^
user.cpp: In function ‘void precalcPa()’:
user.cpp:42:32: error: ‘sort’ was not declared in this scope
sort(P + 1, P + N + 1, cmpA);
^
user.cpp: In function ‘void precalcPc()’:
user.cpp:49:32: error: ‘sort’ was not declared in this scope
sort(P + 1, P + N + 1, cmpC);
^
user.cpp: In function ‘void Solve()’:
user.cpp:95:32: error: ‘sort’ was not declared in this scope
sort(P + 1, P + N + 1, cmpB);
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !