Borderou de evaluare (job #3030767)
Utilizator | Data | 17 martie 2023 21:00:41 | |
---|---|---|---|
Problema | Castel | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:12:1: error: 'queue' does not name a type
12 | queue<pair<int,int>> q;
| ^~~~~
main.cpp:13:1: error: 'vector' does not name a type
13 | vector<int> backpack[20000];
| ^~~~~~
main.cpp: In function 'void Lee()':
main.cpp:50:5: error: 'q' was not declared in this scope
50 | q.push(k);
| ^
main.cpp:50:12: error: 'k' was not declared in this scope
50 | q.push(k);
| ^
main.cpp:66:45: error: expected ']' before ')' token
66 | if(access[cas[iv][jv]==1)
| ^
| ]
main.cpp:75:21: error: 'backpack' was not declared in this scope; did you mean 'backk'?
75 | backpack[mat[iv][jv]].push_back(nr);
| ^~~~~~~~
| backk
main.cpp:75:30: error: 'mat' was not declared in this scope
75 | backpack[mat[iv][jv]].push_back(nr);
| ^~~
main.cpp:79:21: error: 'backpack' was not declared in this scope; did you mean 'backk'?
79 | for(auto i: backpack[v])
| ^~~~~~~~
| backk
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !