Problem funnyhat
User Sans12345
Submission Time 2026-01-11 11:15:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

funnyhat.cpp:96:6: error: redefinition of ‘bool vis [100005]’
96 | bool vis[maxn];
| ^~~
funnyhat.cpp:88:6: note: ‘bool vis [100005]’ previously declared here
88 | bool vis[maxn];
| ^~~
funnyhat.cpp: In function ‘void dnc(ll)’:
funnyhat.cpp:105:33: error: ‘N’ was not declared in this scope
105 | for(int i=ed[x]+1;i<N;i++) vis[i] = false;
| ^