Submission #109549

#TimeUsernameProblemLanguageResultExecution timeMemory
109549PeppaPigBoat (APIO16_boat)C++14
Compilation error
0 ms0 KiB
dp[i][j] = (dp[i][j] + (p * dp[k][j-1]) % M) % M;

Compilation message (stderr)

boat.cpp:2:17: error: 'dp' does not name a type
                 dp[i][j] = (dp[i][j] + (p * dp[k][j-1]) % M) % M;
                 ^~