Problem shops
User Xiaoyang
Submission Time 2024-03-19 09:17:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

shops.cpp: In function ‘int dfs(int)’:
shops.cpp:207:10: error: ‘using pii = struct std::pair<int, int>’ {aka ‘struct std::pair<int, int>’} has no member named ‘fi’
207 | vis[i.fi]=1;
| ^~
shops.cpp: In function ‘void findans(int)’:
shops.cpp:224:10: error: ‘using pii = struct std::pair<int, int>’ {aka ‘struct std::pair<int, int>’} has no member named ‘fi’
224 | vis[i.fi]=1;
| ^~