Problem cpicgame
User Thealienhuman
Submission Time 2026-06-23 10:55:42
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cpicgame.cpp: In function ‘long long int solve(long long int, long long int, char)’:
cpicgame.cpp:12:9: error: ‘visiting’ was not declared in this scope
12 | if (visiting[state]) return 0; // Tie
| ^~~~~~~~
cpicgame.cpp:13:9: error: ‘dp’ was not declared in this scope
13 | if (dp.count(state)) return dp[state];
| ^~
cpicgame.cpp:15:5: error: ‘visiting’ was not declared in this scope
15 | visiting[state] = true;
| ^~~~~~~~
cpicgame.cpp:45:12: error: ‘dp’ was not declared in this scope
45 | return dp[state] = ans;
| ^~
At global scope:
cc1plus: error: ‘::main’ must return ‘int’