Problem flybot
User Poket
Submission Time 2023-07-08 19:40:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flybot.cpp: In function ‘long long int dp(int, int)’:
flybot.cpp:8:6: error: expected primary-expression before ‘if’
8 | if (if board[l-1][h] == 'X' and board[l][h-1] == 'X') {
| ^~
flybot.cpp:8:6: error: expected ‘)’ before ‘if’
8 | if (if board[l-1][h] == 'X' and board[l][h-1] == 'X') {
| ~^~
| )