Borderou de evaluare (job #2702709)
Utilizator | Data | 5 februarie 2021 16:03:14 | |
---|---|---|---|
Problema | Poligon | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'std::vector<int> Locate(std::vector<std::complex<long long int> >, std::vector<std::pair<int, int> >, std::vector<std::complex<long long int> >)':
main.cpp:24:10: error: expected unqualified-id before '[' token
auto [a, b] = E[i];
^
main.cpp:25:11: error: 'b' was not declared in this scope
if (P[b] < P[a]) swap(a, b);
^
main.cpp:25:18: error: 'a' was not declared in this scope
if (P[b] < P[a]) swap(a, b);
^
main.cpp:26:18: error: 'a' was not declared in this scope
int vert = P[a].real() == P[b].real();
^
main.cpp:26:33: error: 'b' was not declared in this scope
int vert = P[a].real() == P[b].real();
^
main.cpp: In lambda function:
main.cpp:35:10: error: expected unqualified-id before '[' token
auto [a, b] = E[i]; auto [p, q] = E[j];
^
main.cpp:35:30: error: expected unqualified-id before '[' token
auto [a, b] = E[i]; auto [p, q] = E[j];
^
In file included from /usr/include/c++/6/cassert:44:0,
from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:33,
from main.cpp:1:
main.cpp:36:12: error: 'a' was not declared in this scope
assert(a != b);
^
main.cpp:36:17: error: 'b' was not declared in this scope
assert(a != b);
^
main.cpp:37:44: error: 'p' was not declared in this scope
return det(P[a] + P[a], P[b] + P[b], P[p] + P[q]) < 0;
^
main.cpp: In function 'std::vector<int> Locate(std::vector<std::complex<long long int> >, std::vector<std::pair<int, int> >, std::vector<std::complex<long long int> >)':
main.cpp:43:13: error: expected unqualified-id before '[' token
for (auto [at, t, i] : evs) {
^
main.cpp:43:13: error: expected ';' before '[' token
main.cpp:43:14: error: 'at' was not declared in this scope
for (auto [at, t, i] : evs) {
^~
main.cpp:43:18: error: 't' was not declared in this scope
for (auto [at, t, i] : evs) {
^
main.cpp:43:21: error: 'i' was not declared in this scope
for (auto [at, t, i] : evs) {
^
main.cpp: In lambda function:
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !