Borderou de evaluare (job #2453236)
Utilizator | Data | 2 septembrie 2019 22:09:07 | |
---|---|---|---|
Problema | Parb2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:13:1: error: 'vector' does not name a type
vector<vector<int>> P;
^~~~~~
main.cpp:28:1: error: 'vector' does not name a type
vector<vector<pair<int, char>>> G;
^~~~~~
main.cpp: In function 'void Read()':
main.cpp:61:5: error: 'G' was not declared in this scope
G.resize(N + 1);
^
main.cpp: In function 'void SuffixArrays()':
main.cpp:78:5: error: 'P' was not declared in this scope
P.push_back(vector<int>(N + 1));
^
main.cpp:78:17: error: 'vector' was not declared in this scope
P.push_back(vector<int>(N + 1));
^~~~~~
main.cpp:78:24: error: expected primary-expression before 'int'
P.push_back(vector<int>(N + 1));
^~~
main.cpp:85:22: error: expected primary-expression before 'int'
P.push_back(vector<int>(N + 1));
^~~
main.cpp:87:66: error: no match for 'operator=' (operand types are 'Entry' and '<brace-enclosed initializer list>')
L[i] = { { P[k - 1][i], P[k - 1][anc[k - 1][i]] }, i };
^
main.cpp:14:8: note: candidate: constexpr Entry& Entry::operator=(const Entry&)
struct Entry{
^~~~~
main.cpp:14:8: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const Entry&'
main.cpp:14:8: note: candidate: constexpr Entry& Entry::operator=(Entry&&)
main.cpp:14:8: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'Entry&&'
main.cpp: In function 'int Answer(int, int)':
main.cpp:120:6: error: 'P' was not declared in this scope
y = P[stp][y];
^
main.cpp: In function 'int LCP(int, int)':
main.cpp:173:8: error: 'P' was not declared in this scope
if ( P[k][x] == P[k][y] )
^
main.cpp: In function 'void DFS(int)':
main.cpp:185:24: error: 'G' was not declared in this scope
for ( const auto& x : G[nod] )
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !