Borderou de evaluare (job #2861945)

Utilizator vladsipunct5555Butnrau Vlad vladsipunct5555 Data 4 martie 2022 18:38:19
Problema Padure Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void solve()': main.cpp:45:13: error: 'node' was not declared in this scope 45 | node[i][j] = cnt++; | ^~~~ main.cpp:50:19: error: 'node' was not declared in this scope 50 | v[node[i][j]].push_back({node[i][j-1], 0}); | ^~~~ main.cpp:52:19: error: 'node' was not declared in this scope 52 | v[node[i][j]].push_back({node[i][j-1], 1}); | ^~~~ main.cpp:58:19: error: 'node' was not declared in this scope 58 | v[node[i][j]].push_back({node[i-1][j], 0}); | ^~~~ main.cpp:60:19: error: 'node' was not declared in this scope 60 | v[node[i][j]].push_back({node[i-1][j], 1}); | ^~~~ main.cpp:65:19: error: 'node' was not declared in this scope 65 | v[node[i][j]].push_back({node[i+1][j], 0}); | ^~~~ main.cpp:67:19: error: 'node' was not declared in this scope 67 | v[node[i][j]].push_back({node[i+1][j], 1}); | ^~~~ main.cpp:71:19: error: 'node' was not declared in this scope 71 | v[node[i][j]].push_back({node[i][j+1], 0}); | ^~~~ main.cpp:73:19: error: 'node' was not declared in this scope 73 | v[node[i][j]].push_back({node[i][j+1], 1}); | ^~~~ main.cpp:74:9: error: 'node' was not declared in this scope 74 | dij(node[startx][starty]); | ^~~~ Non zero exit status: 1

Ceva nu functioneaza?