Borderou de evaluare (job #2107393)
Utilizator | Data | 17 ianuarie 2018 09:36: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 ‘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);
^
user.cpp: In function ‘std::pair<double, double> intersect(double, double, double, double, double, double)’:
user.cpp:110:17: error: ‘C1’ was not declared in this scope
double y = (C1 - C2) / (B2 - B1);
^
user.cpp:110:34: error: ‘B1’ was not declared in this scope
double y = (C1 - C2) / (B2 - B1);
^
user.cpp:104:12: warning: unused variable ‘b’ [-Wunused-variable]
double b = B2, c = C2;
^
user.cpp: In function ‘void Intersect(double, double, double, bool)’:
user.cpp:130:5: error: ‘ind2’ was not declared in this scope
ind2 = 0;
^
user.cpp: In function ‘void Solve()’:
user.cpp:165:32: error: ‘sort’ was not declared in this scope
sort(P + 1, P + N + 1, cmpB);
^
user.cpp:190:43: error: ‘struct Point’ has no member named ‘first’
Coef(X, Y, Z, make_pair(Xc[q].first, Xc[q].second));
^
user.cpp:190:56: error: ‘struct Point’ has no member named ‘second’
Coef(X, Y, Z, make_pair(Xc[q].first, Xc[q].second));
^
user.cpp:196:43: error: ‘struct Point’ has no member named ‘first’
Coef(X, Y, Z, make_pair(Xc[q].first, Xc[q].second));
^
user.cpp:196:56: error: ‘struct Point’ has no member named ‘second’
Coef(X, Y, Z, make_pair(Xc[q].first, Xc[q].second));
^
user.cpp:199:13: error: redeclaration of ‘int q’
int q = Query(0, 1, 1, N, i - 2 * N / 3);
^
user.cpp:187:13: error: ‘int q’ previously declared here
int q = Query(1, 1, 1, N, i - N / 3);
^
user.cpp:202:43: error: ‘struct Point’ has no member named ‘first’
Coef(X, Y, Z, make_pair(Xa[q].first, Xa[q].second));
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !