Problem graphcraft
User JoshJuice
Submission Time 2025-09-14 02:01:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

graphcraft.cpp:63:27: error: redefinition of ‘int n’
63 | int graphcraft(int n, int n, vector<pii> v[]) {
| ~~~~^
graphcraft.cpp:63:20: note: ‘int n’ previously declared here
63 | int graphcraft(int n, int n, vector<pii> v[]) {
| ~~~~^
graphcraft.cpp: In function ‘int graphcraft(int, std::vector<std::pair<int, int> >*)’:
graphcraft.cpp:64:16: error: ‘c’ was not declared in this scope
64 | N = n; C = c; V = v;
| ^