Problem curtains
User beepbeepsheep
Submission Time 2023-12-16 15:54:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

curtains.cpp:92:10: error: redefinition of ‘const long long int inf’
92 | const ll inf=1e15;
| ^~~
curtains.cpp:5:10: note: ‘const long long int inf’ previously defined here
5 | const ll inf=1e15;
| ^~~
curtains.cpp:93:10: error: redefinition of ‘const long long int maxn’
93 | const ll maxn=5e5+5;
| ^~~~
curtains.cpp:6:10: note: ‘const long long int maxn’ previously defined here
6 | const ll maxn=5e5+5;
| ^~~~
curtains.cpp:96:12: error: redefinition of ‘std::vector<long long int> adj [500005]’
96 | vector<ll> adj[maxn];
| ^~~
curtains.cpp:9:12: note: ‘std::vector<long long int> adj [500005]’ previously declared here
9 | vector<ll> adj[maxn];
| ^~~
curtains.cpp:97:6: error: redefinition of ‘bool has [500005]’
97 | bool has[maxn];
| ^~~
curtains.cpp:10:6: note: ‘bool has [500