Problem graphcraft
User brat
Submission Time 2025-11-24 13:52:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

graphcraft.cpp: In function ‘int graphcraft(int, int, std::vector<std::pair<int, int> >*)’:
graphcraft.cpp:33:19: error: ‘n’ was not declared in this scope
33 | for(int i=1;i<n;i++){
| ^
graphcraft.cpp:40:19: error: ‘n’ was not declared in this scope
40 | for(int i=1;i<n;i++){
| ^
graphcraft.cpp:43:15: error: ‘c’ was not declared in this scope
43 | return dp(c)%mod;
| ^