sequence.cpp: In function 'int main()':
sequence.cpp:17:29: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
17 | #define fff(i,a,b) for (int (i) = (a); (i) <= b; (i)++)
| ^
sequence.cpp:68:5: note: in expansion of macro 'fff'
68 | fff(i,1,n) cin>>a[i];
| ^~~
sequence.cpp:17:29: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
17 | #define fff(i,a,b) for (int (i) = (a); (i) <= b; (i)++)
| ^
sequence.cpp:69:5: note: in expansion of macro 'fff'
69 | fff(i,1,n) pre[i]=pre[i-1]+a[i];
| ^~~
sequence.cpp:17:29: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
17 | #define fff(i,a,b) for (int (i) = (a); (i) <= b; (i)++)
| ^
sequence.cpp:70:5: note: in expansion of macro 'fff'
70 | fff(j,1,k)
| ^~~
sequence.cpp:17:29: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
17 | #define fff(i,a,b) for (int (i) = (a); (i) <= b; (i)++)
| ^
sequence.cpp:72:9: note: in expansion of macro 'fff'
72 | fff(i,2,n) ff(g,1,i)
| ^~~
sequence.cpp:16:28: warning: unnecessary parentheses in declaration of 'g' [-Wparentheses]
16 | #define ff(i,a,b) for (int (i) = (a); (i) < (b); (i)++)
| ^
sequence.cpp:72:20: note: in expansion of macro 'ff'
72 | fff(i,2,n) ff(g,1,i)
| ^~
sequence.cpp:17:29: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
17 | #define fff(i,a,b) for (int (i) = (a); (i) <= b; (i)++)
| ^
sequence.cpp:79:5: note: in expansion of macro 'fff'
79 | fff(j,0,k)
| ^~~
sequence.cpp:17:29: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
17 | #define fff(i,a,b) for (int (i) = (a); (i) <= b; (i)++)
| ^
sequence.cpp:82:9: note: in expansion of macro 'fff'
82 | fff(i,1,n) cout<<dp[i][j]<<" "; cout<<endl;
| ^~~
sequence.cpp:17:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
17 | #define fff(i,a,b) for (int (i) = (a); (i) <= b; (i)++)
| ^~~
sequence.cpp:82:9: note: in expansion of macro 'fff'
82 | fff(i,1,n) cout<<dp[i][j]<<" "; cout<<endl;
| ^~~
sequence.cpp:82:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
82 | fff(i,1,n) cout<<dp[i][j]<<" "; cout<<endl;
| ^~~~