Borderou de evaluare (job #2883448)

Utilizator UnknownPercentageBuca Mihnea-Vicentiu UnknownPercentage Data 1 aprilie 2022 15:23:28
Problema Fotbal2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:3:12: error: expected ',' or ';' before 'vector' 3 | #define vt vector | ^~~~~~ main.cpp:16:1: note: in expansion of macro 'vt' 16 | vt <pair <int, int>> adj[50001]; | ^~ main.cpp: In function 'void dfs(int)': main.cpp:22:20: error: 'adj' was not declared in this scope 22 | for(auto& to : adj[v]) | ^~~ main.cpp: In function 'void solve()': main.cpp:35:9: error: 'adj' was not declared in this scope 35 | adj[x].emb(y, i); | ^~~ main.cpp:44:13: error: 'adj' was not declared in this scope 44 | adj[0].emb(i, cnt); | ^~~ Non zero exit status: 1

Ceva nu functioneaza?