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:53:5: note: in expansion of macro 'fff'
53 | fff(i,0,n) fff(j,0,p) dp[i][j]=1e9;
| ^~~
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:53:16: note: in expansion of macro 'fff'
53 | fff(i,0,n) fff(j,0,p) dp[i][j]=1e9;
| ^~~
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,1,p) dp[i][j]=min(dp[i][j],dp[pp][j-1]);
| ^~~
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:60:9: note: in expansion of macro 'fff'
60 | fff(j,0,p) dp[i][j]=min(dp[i][j],dp[qq][j]+1);
| ^~~
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:62:5: note: in expansion of macro 'fff'
62 | fff(i,0,p) if (dp[n][i]<=q) return true;
| ^~~
watching.cpp: In function 'int main()':
watching.cpp:71:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
71 | if (p>n) p=n; if (q>n) q=n;
| ^~
watching.cpp:71:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
71 | 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:72:5: note: in expansion of macro 'fff'
72 | fff(i,1,n) cin>>a[i];
| ^~~