Borderou de evaluare (job #2107391)

Utilizator alex_HarryBabalau Alexandru alex_Harry Data 17 ianuarie 2018 09:35:57
Problema Tri Status done
Runda Lista lui wefgef Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int Query(int, int, int, int, int)’: user.cpp:44:73: error: invalid operands of types ‘int’ and ‘int [40005]’ to binary ‘operator-’ return Query(ind, K * 2 + 1, (L + R) / 2 + 1, R, pos - Arb[K * 2]); ^ user.cpp: In function ‘bool cmpA(Point, Point)’: user.cpp:52:18: error: ‘struct Point’ has no member named ‘second’ return ( (a.second - A.second) * (b.first - A.first)) < ( (b.second - A.second) * (a.first - A.first)); ^ user.cpp:52:42: error: ‘struct Point’ has no member named ‘first’ return ( (a.second - A.second) * (b.first - A.first)) < ( (b.second - A.second) * (a.first - A.first)); ^ user.cpp:52:68: error: ‘struct Point’ has no member named ‘second’ return ( (a.second - A.second) * (b.first - A.first)) < ( (b.second - A.second) * (a.first - A.first)); ^ user.cpp:52:92: error: ‘struct Point’ has no member named ‘first’ return ( (a.second - A.second) * (b.first - A.first)) < ( (b.second - A.second) * (a.first - A.first)); ^ user.cpp: In function ‘bool cmpB(Point, Point)’: user.cpp:57:18: error: ‘struct Point’ has no member named ‘second’ return ( (a.second - B.second) * (b.first - B.first)) < ( (b.second - B.second) * (a.first - B.first)); ^ user.cpp:57:42: error: ‘struct Point’ has no member named ‘first’ return ( (a.second - B.second) * (b.first - B.first)) < ( (b.second - B.second) * (a.first - B.first)); ^ user.cpp:57:67: error: ‘struct Point’ has no member named ‘second’ return ( (a.second - B.second) * (b.first - B.first)) < ( (b.second - B.second) * (a.first - B.first)); ^ user.cpp:57:91: error: ‘struct Point’ has no member named ‘first’ return ( (a.second - B.second) * (b.first - B.first)) < ( (b.second - B.second) * (a.first - B.first)); ^ user.cpp: In function ‘bool cmpC(Point, Point)’: user.cpp:62:17: error: ‘struct Point’ has no member named ‘second’ return ( (a.second - C.second) * (b.first - C.first)) < ( (b.second - C.second) * (a.first - C.first)); ^ user.cpp:62:41: error: ‘struct Point’ has no member named ‘first’ return ( (a.second - C.second) * (b.first - C.first)) < ( (b.second - C.second) * (a.first - C.first)); ^ user.cpp:62:66: error: ‘struct Point’ has no member named ‘second’ return ( (a.second - C.second) * (b.first - C.first)) < ( (b.second - C.second) * (a.first - C.first)); ^ user.cpp:62:90: error: ‘struct Point’ has no member named ‘first’ return ( (a.second - C.second) * (b.first - C.first)) < ( (b.second - C.second) * (a.first - C.first)); ^ user.cpp: In function ‘void precalcPa()’: user.cpp:77:32: error: ‘sort’ was not declared in this scope sort(P + 1, P + N + 1, cmpA); ^ user.cpp: In function ‘void precalcPc()’: user.cpp:84:32: error: ‘sort’ was not declared in this scope sort(P + 1, P + N + 1, cmpC);

Ceva nu functioneaza?