Borderou de evaluare (job #3273421)
Utilizator | Data | 2 februarie 2025 00:37:10 | |
---|---|---|---|
Problema | Berarii2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:19:1: error: 'bitset' does not name a type
19 | bitset<1000001> isVisited;
| ^~~~~~
main.cpp:20:1: error: 'bitset' does not name a type
20 | bitset<1000001> canReachBar;
| ^~~~~~
main.cpp:21:1: error: 'bitset' does not name a type
21 | bitset<1000001> isNodeDeleted;
| ^~~~~~
main.cpp: In function 'void dfs(int)':
main.cpp:26:9: error: 'canReachBar' was not declared in this scope
26 | if (canReachBar[currentNode]) {
| ^~~~~~~~~~~
main.cpp:29:9: error: 'isNodeDeleted' was not declared in this scope
29 | if (isNodeDeleted[currentNode] == 0) {
| ^~~~~~~~~~~~~
main.cpp:34:13: error: 'isVisited' was not declared in this scope
34 | if (isVisited[*it] == 0) {
| ^~~~~~~~~
main.cpp:37:17: error: 'canReachBar' was not declared in this scope
37 | if (canReachBar[*it]) {
| ^~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:59:9: error: 'canReachBar' was not declared in this scope
59 | canReachBar[bar] = 1;
| ^~~~~~~~~~~
main.cpp:64:9: error: 'isNodeDeleted' was not declared in this scope
64 | isNodeDeleted[startNode] = 1;
| ^~~~~~~~~~~~~
main.cpp:70:13: error: 'canReachBar' was not declared in this scope
70 | if (canReachBar[i] == 0) {
| ^~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !