Borderou de evaluare (job #2697271)
Utilizator | Data | 18 ianuarie 2021 08:08:54 | |
---|---|---|---|
Problema | Sortare topologica | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:13:7: error: 'nmax' was not declared in this scope
int T[nmax], info[nmax];
^~~~
main.cpp:13:19: error: 'nmax' was not declared in this scope
int T[nmax], info[nmax];
^~~~
main.cpp:14:14: error: 'nmax' was not declared in this scope
deque<int>LA[nmax];
^~~~
main.cpp: In function 'void citirelistead()':
main.cpp:23:3: error: 'LA' was not declared in this scope
LA[x].push_back(y);
^~
main.cpp:26:8: error: 'LA' was not declared in this scope
sort(LA[i].begin(), LA[i].end());
^~
main.cpp: In function 'void dfs(int, std::__cxx11::list<int>&)':
main.cpp:30:2: error: 'info' was not declared in this scope
info[x] = true;
^~~~
main.cpp:31:22: error: 'LA' was not declared in this scope
for (int i = 0; i < LA[x].size(); ++i)
^~
main.cpp:36:4: error: 'T' was not declared in this scope
T[vecin] = x;
^
main.cpp: In function 'int main()':
main.cpp:51:7: error: 'info' was not declared in this scope
fill(info, info + n + 1, false);
^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !