Problem defense101
User pasit
Submission Time 2026-09-10 17:03:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

defense101.cpp:44:11: error: redefinition of ‘const long long int inf’
44 | const int inf = 4e18;
| ^~~
defense101.cpp:18:11: note: ‘const long long int inf’ previously defined here
18 | const int inf = 4e18;
| ^~~
defense101.cpp:45:11: error: redefinition of ‘const long long int mxn’
45 | const int mxn = 1e6;
| ^~~
defense101.cpp:19:11: note: ‘const long long int mxn’ previously defined here
19 | const int mxn = 1e6;
| ^~~
defense101.cpp:46:13: error: redefinition of ‘std::vector<std::pair<long long int, long long int> > adj [1000002]’
46 | vector<pii> adj[mxn+2];
| ^~~
defense101.cpp:20:13: note: ‘std::vector<std::pair<long long int, long long int> > adj [1000002]’ previously declared here
20 | vector<pii> adj[mxn+2];
| ^~~
defense101.cpp:47:9: error: redefinition of ‘int32_t mai