Borderou de evaluare (job #3236560)
Utilizator | Data | 29 iunie 2024 12:16:46 | |
---|---|---|---|
Problema | Circulatie | Status | done |
Runda | Simulare E4 #4 | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:10:1: error: 'vector' does not name a type
10 | vector <int> edges[2*NMAX];
| ^~~~~~
main.cpp: In function 'int match(int)':
main.cpp:19:34: error: 'edges' was not declared in this scope
19 | for( unsigned int i = 0; i < edges[node].size() && g == 0; i++ ) {
| ^~~~~
main.cpp:27:34: error: 'edges' was not declared in this scope
27 | for( unsigned int i = 0; i < edges[node].size() && g == 0; i++ ) {
| ^~~~~
main.cpp: In function 'int main()':
main.cpp:55:9: error: 'edges' was not declared in this scope
55 | edges[x].push_back( y );
| ^~~~~
main.cpp:60:38: error: 'edges' was not declared in this scope
60 | for( unsigned int j = 0; j < edges[i].size(); j++ ) {
| ^~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !