Problem shops
User Kiameimon
Submission Time 2024-03-19 08:37:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

shops.cpp:191:1: error: ‘bitet’ does not name a type
191 | bitet<MAX> vis;
| ^~~~~
shops.cpp: In function ‘int dfs(int)’:
shops.cpp:201:6: error: ‘vis’ was not declared in this scope
201 | if(vis[cur]) continue;
| ^~~
shops.cpp:202:3: error: ‘vis’ was not declared in this scope
202 | vis[cur] = 1; cnt++;
| ^~~
shops.cpp: In function ‘void findans(int)’:
shops.cpp:216:6: error: ‘vis’ was not declared in this scope
216 | if(vis[cur]) continue;
| ^~~
shops.cpp:217:3: error: ‘vis’ was not declared in this scope
217 | vis[cur] = 1;
| ^~~
shops.cpp: In function ‘int main()’:
shops.cpp:240:8: error: ‘vis’ was not declared in this scope
240 | if(!vis[i] && dfs(i) == 1){
| ^~~
shops.cpp:244:3: error: ‘vis’ was not declared in this scope
244 | vis.reset();
| ^~~
shops.cpp:251:7: error: ‘vis’ was not declared in this scope
2