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:73:9: note: in expansion of macro 'fff'
73 | fff(i,1,n) ff(j,1,i) ans+=a[i]*a[j];
| ^~~
sequence.cpp:16:28: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
16 | #define ff(i,a,b) for (int (i) = (a); (i) < (b); (i)++)
| ^
sequence.cpp:73:20: note: in expansion of macro 'ff'
73 | fff(i,1,n) ff(j,1,i) ans+=a[i]*a[j];
| ^~
sequence.cpp:16:28: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
16 | #define ff(i,a,b) for (int (i) = (a); (i) < (b); (i)++)
| ^
sequence.cpp:75:9: note: in expansion of macro 'ff'
75 | ff(i,1,n) cout<<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:79:5: note: in expansion of macro 'fff'
79 | 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:80:5: note: in expansion of macro 'fff'
80 | 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:82:9: note: in expansion of macro 'fff'
82 | 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:82:20: note: in expansion of macro 'ff'
82 | fff(i,2,n) ff(g,1,i)
| ^~