Borderou de evaluare (job #2962492)
Utilizator | Data | 8 ianuarie 2023 17:44:00 | |
---|---|---|---|
Problema | Johnie | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:9:1: error: 'stack' does not name a type; did you mean 'obstack'?
9 | stack<pair<int, int> > G[maxN];
| ^~~~~
| obstack
main.cpp: In function 'void euler(std::vector<int>&, int)':
main.cpp:16:13: error: 'G' was not declared in this scope
16 | while (!G[cur].empty()) {
| ^
main.cpp:22:27: error: 'ind' was not declared in this scope; did you mean 'int'?
22 | if (!used_vertice[ind]) {
| ^~~
| int
main.cpp: In function 'int main()':
main.cpp:38:9: error: 'G' was not declared in this scope
38 | G[src].push(make_pair(dest, i));
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !