Borderou de evaluare (job #285509)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Matroid | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 25 feb. 2017 20:35:49 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:12:7: error: expected nested-name-specifier before 'Graph'
user.cpp:12:7: error: 'Graph' has not been declared
user.cpp:12:13: error: expected ';' before '=' token
user.cpp:12:13: error: expected unqualified-id before '=' token
user.cpp:13:7: error: expected nested-name-specifier before 'BareGraph'
user.cpp:13:7: error: 'BareGraph' has not been declared
user.cpp:13:17: error: expected ';' before '=' token
user.cpp:13:17: error: expected unqualified-id before '=' token
user.cpp:15:16: error: 'Graph' does not name a type
user.cpp:15:23: error: ISO C++ forbids declaration of 'g' with no type [-fpermissive]
user.cpp: In function 'void Dfs(const int&, int, std::vector<bool>&, std::vector<int>&, int&)':
user.cpp:18:23: error: invalid types 'const int[int]' for array subscript
user.cpp: At global scope:
user.cpp:26:28: error: 'Graph' does not name a type
user.cpp:26:35: error: ISO C++ forbids declaration of 'g' with no type [-fpermissive]
user.cpp: In function 'std::vector<int> TopoSort(const int&)':
user.cpp:28:25: error: request for member 'size' in 'g', which is of non-class type 'const int'
user.cpp:29:22: error: request for member 'size' in 'g', which is of non-class type 'const int'
user.cpp:32:29: error: request for member 'size' in 'g', which is of non-class type 'const int'
user.cpp: At global scope:
user.cpp:40:1: error: 'BareGraph' does not name a type
user.cpp:51:10: error: 'Graph' was not declared in this scope
user.cpp:51:17: error: 'g' was not declared in this scope
user.cpp:51:20: error: expected primary-expression before 'const'
user.cpp:51:44: error: expected primary-expression before 'int'
user.cpp:51:54: error: expected primary-expression before 'int'
user.cpp:51:61: error: expression list treated as compound expression in initializer [-fpermissive]
user.cpp:52:1: error: expected ',' or ';' before '{' token