Problem | graphcraft |
---|---|
User | wrizz69 |
Submission Time | 2024-12-16 16:01:40 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
graphcraft.cpp: In function ‘long long int dp(long long int)’:
graphcraft.cpp:23:13: error: expected ‘)’ before ‘!’ token
23 | if(memo[nd] ! = -1) return memo[nd];
| ~ ^~
| )
graphcraft.cpp:30:16: error: ‘adj’ was not declared in this scope
30 | for(auto it : adj[nd]) {
| ^~~
graphcraft.cpp: In function ‘long long int graphcraft(long long int, long long int, std::vector<std::pair<long long int, long long int> >*)’:
graphcraft.cpp:51:23: error: ‘adj’ was not declared in this scope
51 | for(auto it : V[i]) adj[i].pb(it);
| ^~~