Problem binaryroads
User IWKR
Submission Time 2023-01-27 11:54:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

binaryroads.cpp:11:13: error: redefinition of ‘std::vector<long long int> adjlist [2][200001]’
11 | vector<int> adjlist[2][200001];
| ^~~~~~~
binaryroads.cpp:10:13: note: ‘std::vector<long long int> adjlist [2][200001]’ previously declared here
10 | vector<int> adjlist[2][200001];
| ^~~~~~~
binaryroads.cpp: In function ‘int32_t main()’:
binaryroads.cpp:26:3: error: ‘adjlist1’ was not declared in this scope; did you mean ‘adjlist’?
26 | adjlist1[c][a].push_back(b);
| ^~~~~~~~
| adjlist
binaryroads.cpp:85:24: error: ‘adjlist1’ was not declared in this scope; did you mean ‘adjlist’?
85 | for (int i = 0; i < adjlist1[z][y].size(); i++) {
| ^~~~~~~~
| adjlist
binaryroads.cpp:94:52: error: no matching function for call to ‘std::queue<std::pair<long long int, std::pair<long long int, long