| Problem | visiting |
|---|---|
| User | Eldoofus |
| Submission Time | 2026-02-20 00:26:14 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
visiting.cpp:7:1: error: expected initializer before ‘long’
7 | long long total;
| ^~~~
visiting.cpp: In function ‘void del(int, graph&)’:
visiting.cpp:12:9: error: ‘total’ was not declared in this scope
12 | total -= g[k][n];
| ^~~~~
visiting.cpp: In function ‘void trim(graph&)’:
visiting.cpp:55:13: error: ‘r’ was not declared in this scope
55 | st.push(r);
| ^
visiting.cpp: In function ‘int main()’:
visiting.cpp:81:16: error: ‘r’ was not declared in this scope
81 | cin >> r;
| ^
visiting.cpp:86:9: error: ‘total’ was not declared in this scope
86 | total += c;
| ^~~~~
visiting.cpp:94:34: error: ‘r’ was not declared in this scope
94 | pair<int, long long> p = dfs(r, t);
| ^
visiting.cpp:98:17: error: ‘total’ was not declared in this scope
98 |