Problem | oranges2 |
---|---|
User | wrizz69 |
Submission Time | 2024-12-18 16:14:46 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
oranges2.cpp:14:8: error: ‘vectorint’ was not declared in this scope
14 | vector<vectorint>> maxedge;
| ^~~~~~~~~
oranges2.cpp:14:8: error: template argument 1 is invalid
oranges2.cpp:14:8: error: template argument 2 is invalid
oranges2.cpp:14:17: error: expected unqualified-id before ‘>’ token
14 | vector<vectorint>> maxedge;
| ^~
oranges2.cpp: In function ‘void dfs(long long int, long long int, long long int, long long int)’:
oranges2.cpp:20:5: error: ‘maxedge’ was not declared in this scope
20 | maxedge[node][0] = weight;
| ^~~~~~~
oranges2.cpp: In function ‘long long int query(long long int, long long int)’:
oranges2.cpp:43:26: error: ‘maxedge’ was not declared in this scope
43 | maxw = max(maxw, maxedge[s][i]);
| ^~~~~~~
oranges2.cpp:43:34: error: ‘s’ was not declared in this scope
43 | maxw = max(max