| Problem | graphcraft |
|---|---|
| User | YSH2020 |
| Submission Time | 2026-06-16 14:38:08 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
graphcraft.cpp: In function ‘int comp(std::vector<std::pair<int, int> >*, int)’:
graphcraft.cpp:19:38: error: ‘MOD’ was not declared in this scope
19 | else total += (cur*i.second)%MOD;
| ^~~
graphcraft.cpp:20:21: error: ‘MOD’ was not declared in this scope
20 | if (total > MOD) total -= MOD;
| ^~~
graphcraft.cpp: In function ‘int graphcraft(int, int, std::vector<std::pair<int, int> >*)’:
graphcraft.cpp:32:20: error: ‘c’ was not declared in this scope
32 | return comp(V, c);
| ^