Problem funnyhat
User jiahng
Submission Time 2025-02-01 06:39:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

funnyhat.cpp:6:22: error: stray ‘#’ in program
6 | typedef long long ll;#include <bits/stdc++.h>
| ^
funnyhat.cpp:6:23: error: ‘include’ does not name a type
6 | typedef long long ll;#include <bits/stdc++.h>
| ^~~~~~~
funnyhat.cpp:128:5: error: redefinition of ‘int A [200010]’
128 | int A[maxn], sz[maxn];
| ^
funnyhat.cpp:39:5: note: ‘int A [200010]’ previously declared here
39 | int A[maxn], sz[maxn];
| ^
funnyhat.cpp:128:14: error: redefinition of ‘int sz [200010]’
128 | int A[maxn], sz[maxn];
| ^~
funnyhat.cpp:39:14: note: ‘int sz [200010]’ previously declared here
39 | int A[maxn], sz[maxn];
| ^~
funnyhat.cpp:129:4: error: redefinition of ‘vi adj [200010]’
129 | vi adj[maxn];
| ^~~
funnyhat.cpp:40:4: note: ‘vi adj [200010]’ previously declared here
40 | vi adj[ma