watching.cpp: In function 'bool moze(int, int, int, int)':
watching.cpp:17:29: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
17 | #define fff(i,a,b) for (int (i) = (a); (i) <= b; (i)++)
| ^
watching.cpp:54:5: note: in expansion of macro 'fff'
54 | fff(i,1,n) fff(j,0,p) fff(k,0,q) dp[i][j][k]=0;
| ^~~
watching.cpp:17:29: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
17 | #define fff(i,a,b) for (int (i) = (a); (i) <= b; (i)++)
| ^
watching.cpp:54:16: note: in expansion of macro 'fff'
54 | fff(i,1,n) fff(j,0,p) fff(k,0,q) dp[i][j][k]=0;
| ^~~
watching.cpp:17:29: warning: unnecessary parentheses in declaration of 'k' [-Wparentheses]
17 | #define fff(i,a,b) for (int (i) = (a); (i) <= b; (i)++)
| ^
watching.cpp:54:27: note: in expansion of macro 'fff'
54 | fff(i,1,n) fff(j,0,p) fff(k,0,q) dp[i][j][k]=0;
| ^~~
watching.cpp:17:29: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
17 | #define fff(i,a,b) for (int (i) = (a); (i) <= b; (i)++)
| ^
watching.cpp:55:5: note: in expansion of macro 'fff'
55 | fff(i,1,n)
| ^~~
watching.cpp:17:29: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
17 | #define fff(i,a,b) for (int (i) = (a); (i) <= b; (i)++)
| ^
watching.cpp:59:9: note: in expansion of macro 'fff'
59 | fff(j,0,p) fff(k,0,q)
| ^~~
watching.cpp:17:29: warning: unnecessary parentheses in declaration of 'k' [-Wparentheses]
17 | #define fff(i,a,b) for (int (i) = (a); (i) <= b; (i)++)
| ^
watching.cpp:59:20: note: in expansion of macro 'fff'
59 | fff(j,0,p) fff(k,0,q)
| ^~~
watching.cpp:17:29: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
17 | #define fff(i,a,b) for (int (i) = (a); (i) <= b; (i)++)
| ^
watching.cpp:65:5: note: in expansion of macro 'fff'
65 | fff(i,0,p) fff(j,0,q) if (dp[n][i][j]) return true;
| ^~~
watching.cpp:17:29: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
17 | #define fff(i,a,b) for (int (i) = (a); (i) <= b; (i)++)
| ^
watching.cpp:65:16: note: in expansion of macro 'fff'
65 | fff(i,0,p) fff(j,0,q) if (dp[n][i][j]) return true;
| ^~~
watching.cpp: In function 'int main()':
watching.cpp:74:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
74 | if (p>n) p=n; if (q>n) q=n;
| ^~
watching.cpp:74:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
74 | if (p>n) p=n; if (q>n) q=n;
| ^~
watching.cpp:17:29: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
17 | #define fff(i,a,b) for (int (i) = (a); (i) <= b; (i)++)
| ^
watching.cpp:75:5: note: in expansion of macro 'fff'
75 | fff(i,1,n) cin>>a[i];
| ^~~