Problem shops
User Rolo
Submission Time 2025-03-27 02:17:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

shops.cpp: In function ‘void dfs(int)’:
shops.cpp:15:14: error: ‘g’ was not declared in this scope
15 | for(int u : g[i])
| ^
shops.cpp: At global scope:
shops.cpp:24:1: error: expected declaration before ‘}’ token
24 | }
| ^
shops.cpp: In function ‘int main()’:
shops.cpp:37:14: error: ‘ALL’ was not declared in this scope; did you mean ‘P_ALL’?
37 | sort(ALL(v[i]));
| ^~~
| P_ALL
shops.cpp:38:9: error: ‘MXTO’ was not declared in this scope
38 | MXTO(ans,v[i][0].f);
| ^~~~
shops.cpp:41:9: error: ‘g’ was not declared in this scope
41 | g[i].pb(v[i][0].s);
| ^