Borderou de evaluare (job #3001802)
Utilizator | Data | 13 martie 2023 22:06:04 | |
---|---|---|---|
Problema | Canibali | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:26:1: error: 'vector' does not name a type
26 | vector<int>v[NMAX*3];
| ^~~~~~
main.cpp: In function 'int pairup(int)':
main.cpp:43:16: error: 'v' was not declared in this scope
43 | for(auto i:v[p])
| ^
main.cpp:52:16: error: 'v' was not declared in this scope
52 | for(auto i:v[p])
| ^
main.cpp: In function 'int main()':
main.cpp:79:21: error: 'v' was not declared in this scope
79 | v[i].push_back(2*n+j);
| ^
main.cpp:84:21: error: 'v' was not declared in this scope
84 | v[i].push_back(2*n+j);
| ^
main.cpp:66:11: warning: unused variable 'm' [-Wunused-variable]
66 | int n,m,i,j,kon=0;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !