Borderou de evaluare (job #1934313)
Utilizator | Data | 21 martie 2017 13:02:32 | |
---|---|---|---|
Problema | Sortare topologica | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:8:15: error: ‘kNMAX’ was not declared in this scope
vector<int> G[kNMAX];
^
user.cpp:9:1: error: ‘stack’ does not name a type
stack<int> S;
^
user.cpp: In function ‘void read()’:
user.cpp:21:3: error: ‘G’ was not declared in this scope
G[x].push_back(y);
^
user.cpp: In function ‘void print()’:
user.cpp:29:11: error: ‘S’ was not declared in this scope
while ( !S.empty() )
^
user.cpp: In function ‘void dfs(int)’:
user.cpp:41:17: error: ‘G’ was not declared in this scope
for (auto &it: G[node])
^
user.cpp:48:2: error: ‘S’ was not declared in this scope
S.push(node);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !