Problem applefarm
User JJJwong
Submission Time 2025-11-09 14:36:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

applefarm.cpp:186:10: error: redefinition of ‘const long long int maxn’
186 | const ll maxn = 2e5+23;
| ^~~~
applefarm.cpp:51:10: note: ‘const long long int maxn’ previously defined here
51 | const ll maxn = 2e5+23;
| ^~~~
applefarm.cpp:187:4: error: redefinition of ‘long long int dist [200023]’
187 | ll dist[maxn], parent[maxn], previousedge[maxn];
| ^~~~
applefarm.cpp:52:4: note: ‘long long int dist [200023]’ previously declared here
52 | ll dist[maxn], parent[maxn], previousedge[maxn];
| ^~~~
applefarm.cpp:187:16: error: redefinition of ‘long long int parent [200023]’
187 | ll dist[maxn], parent[maxn], previousedge[maxn];
| ^~~~~~
applefarm.cpp:52:16: note: ‘long long int parent [200023]’ previously declared here
52 | ll dist[maxn], parent[maxn], previousedge[maxn];
| ^~~~~~
applefarm.cpp:187:30: error: redefinition of ‘long l