memory2.cpp: In function 'void Solve(int, int)':
memory2.cpp:8:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
8 | #define rep(i, n) for(int (i)=0; (i)<(int)(n); (i)++)
| ^
memory2.cpp:17:5: note: in expansion of macro 'rep'
17 | rep(i, N){
| ^~~
memory2.cpp:8:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
8 | #define rep(i, n) for(int (i)=0; (i)<(int)(n); (i)++)
| ^
memory2.cpp:24:9: note: in expansion of macro 'rep'
24 | rep(i, N){
| ^~~
memory2.cpp:8:27: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
8 | #define rep(i, n) for(int (i)=0; (i)<(int)(n); (i)++)
| ^
memory2.cpp:26:17: note: in expansion of macro 'rep'
26 | rep(j, 2){
| ^~~
memory2.cpp:8:27: warning: unnecessary parentheses in declaration of 'k' [-Wparentheses]
8 | #define rep(i, n) for(int (i)=0; (i)<(int)(n); (i)++)
| ^
memory2.cpp:27:21: note: in expansion of macro 'rep'
27 | rep(k, 2){
| ^~~
memory2.cpp:8:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
8 | #define rep(i, n) for(int (i)=0; (i)<(int)(n); (i)++)
| ^
memory2.cpp:48:5: note: in expansion of macro 'rep'
48 | rep(i, N){
| ^~~