| Problem | splithunny |
|---|---|
| User | liuhc1017 |
| Submission Time | 2026-04-18 09:42:29 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
splithunny.cpp: In function ‘int32_t main()’:
splithunny.cpp:13:7: error: ‘a’ was not declared in this scope
13 | adj[a].push_back(b);
| ^
splithunny.cpp:13:20: error: ‘b’ was not declared in this scope
13 | adj[a].push_back(b);
| ^
splithunny.cpp:23:9: error: ‘vis’ was not declared in this scope
23 | if (vis[node]) continue;
| ^~~
splithunny.cpp:24:5: error: ‘vis’ was not declared in this scope
24 | vis[node] = 1;
| ^~~
splithunny.cpp:29:12: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
29 | int grid[n][n];
| ^
| yn
splithunny.cpp:30:25: error: conflicting declaration ‘std::queue<std::pair<long long int, long long int> > bfs’
30 | queue<pair<int, int>> bfs;
| ^~~
splithunny.cpp:17:14: note: previous declaration as ‘std::queue<l