tents.cpp: In function 'int main()':
tents.cpp:18:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (i>=3) Dp[i][j]+=Dp[i-3][j-1]*(i-1)*(i-2)/2%MOD; Dp[i][j]%=MOD;
^~
tents.cpp:18:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
if (i>=3) Dp[i][j]+=Dp[i-3][j-1]*(i-1)*(i-2)/2%MOD; Dp[i][j]%=MOD;
^~
tents.cpp:19:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (j>=3) Dp[i][j]+=Dp[i-1][j-3]*(j-1)*(j-2)/2%MOD; Dp[i][j]%=MOD;
^~
tents.cpp:19:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
if (j>=3) Dp[i][j]+=Dp[i-1][j-3]*(j-1)*(j-2)/2%MOD; Dp[i][j]%=MOD;
^~
tents.cpp:21:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (i>=3) Dp[i][j]+=Dp[i-3][j-2]*(i-1)*(j-1)*(i-2)*4%MOD; Dp[i][j]%=MOD;
^~
tents.cpp:21:62: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
if (i>=3) Dp[i][j]+=Dp[i-3][j-2]*(i-1)*(j-1)*(i-2)*4%MOD; Dp[i][j]%=MOD;
^~
tents.cpp:22:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (j>=3) Dp[i][j]+=Dp[i-2][j-3]*(j-1)*(i-1)*(j-2)*4%MOD; Dp[i][j]%=MOD;
^~
tents.cpp:22:62: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
if (j>=3) Dp[i][j]+=Dp[i-2][j-3]*(j-1)*(i-1)*(j-2)*4%MOD; Dp[i][j]%=MOD;
^~
tents.cpp:23:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (i>=3&&j>=3) Dp[i][j]+=Dp[i-3][j-3]*((i-1)*(j-1)*(i-2)*(j-2)%MOD)%MOD; Dp[i][j]%=MOD;
^~
tents.cpp:23:78: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
if (i>=3&&j>=3) Dp[i][j]+=Dp[i-3][j-3]*((i-1)*(j-1)*(i-2)*(j-2)%MOD)%MOD; Dp[i][j]%=MOD;
^~
tents.cpp:24:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (i>=3) Dp[i][j]+=Dp[i-3][j-2]*(i-1)*(i-2)*(j-1)*2%MOD; Dp[i][j]%=MOD;
^~
tents.cpp:24:62: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
if (i>=3) Dp[i][j]+=Dp[i-3][j-2]*(i-1)*(i-2)*(j-1)*2%MOD; Dp[i][j]%=MOD;
^~
tents.cpp:25:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (i>=4) Dp[i][j]+=Dp[i-4][j-2]*((i-1)*(i-2)/2*(j-1)*(i-3)%MOD)%MOD; Dp[i][j]%=MOD;
^~
tents.cpp:25:74: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
if (i>=4) Dp[i][j]+=Dp[i-4][j-2]*((i-1)*(i-2)/2*(j-1)*(i-3)%MOD)%MOD; Dp[i][j]%=MOD;
^~
tents.cpp:26:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (j>=3) Dp[i][j]+=Dp[i-2][j-3]*(j-1)*(j-2)*(i-1)*2%MOD; Dp[i][j]%=MOD;
^~
tents.cpp:26:62: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
if (j>=3) Dp[i][j]+=Dp[i-2][j-3]*(j-1)*(j-2)*(i-1)*2%MOD; Dp[i][j]%=MOD;
^~
tents.cpp:27:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (j>=4) Dp[i][j]+=Dp[i-2][j-4]*((j-1)*(j-2)/2*(i-1)*(j-3)%MOD)%MOD; Dp[i][j]%=MOD;
^~
tents.cpp:27:74: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
if (j>=4) Dp[i][j]+=Dp[i-2][j-4]*((j-1)*(j-2)/2*(i-1)*(j-3)%MOD)%MOD; Dp[i][j]%=MOD;
^~
tents.cpp:28:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (i>=3&&j>=3) Dp[i][j]+=Dp[i-3][j-3]*((i-1)*(j-1)*(i-2)*(j-2)/4%MOD)%MOD; Dp[i][j]%=MOD;
^~
tents.cpp:28:80: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
if (i>=3&&j>=3) Dp[i][j]+=Dp[i-3][j-3]*((i-1)*(j-1)*(i-2)*(j-2)/4%MOD)%MOD; Dp[i][j]%=MOD;
^~
tents.cpp:31:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d", Dp[H][W]-1);
~~~~~~~~~~^
tents.cpp:7:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &H, &W);
~~~~~^~~~~~~~~~~~~~~~