Submission #109549

# Submission time Handle Problem Language Result Execution time Memory
109549 2019-05-07T03:59:35 Z PeppaPig Boat (APIO16_boat) C++14
Compilation error
0 ms 0 KB
                dp[i][j] = (dp[i][j] + (p * dp[k][j-1]) % M) % M;

Compilation message

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