| Problem | binaryroads |
|---|---|
| User | chickengoat |
| Submission Time | 2026-05-16 09:57:01 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
binaryroads.cpp: In function ‘int main()’:
binaryroads.cpp:9:10: error: ‘a’ was not declared in this scope
9 | cin >> a >> b >> v;
| ^
binaryroads.cpp:9:15: error: ‘b’ was not declared in this scope
9 | cin >> a >> b >> v;
| ^
binaryroads.cpp:9:20: error: ‘v’ was not declared in this scope
9 | cin >> a >> b >> v;
| ^
binaryroads.cpp:10:3: error: ‘adj’ was not declared in this scope
10 | adj[a].push_back({v,b});
| ^~~
binaryroads.cpp:27:16: error: ‘adj’ was not declared in this scope
27 | for (auto it:adj[nd.first]) {
| ^~~
binaryroads.cpp:31:34: error: no matching function for call to ‘std::queue<std::pair<long long int, bool> >::push(<brace-enclosed initializer list>)’
31 | q.push({it.second,!nd.second});
|