toll.cpp: In function 'void combine(int (*)[5], int (*)[5], int (*)[5])':
toll.cpp:27:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
27 | #define FOR(i, a, b) for (int (i) = (a); i < (b); ++i)
| ^
toll.cpp:72:5: note: in expansion of macro 'FOR'
72 | FOR (i, 0, k) {
| ^~~
toll.cpp:27:31: warning: unnecessary parentheses in declaration of 'l' [-Wparentheses]
27 | #define FOR(i, a, b) for (int (i) = (a); i < (b); ++i)
| ^
toll.cpp:73:9: note: in expansion of macro 'FOR'
73 | FOR (l, 0, k) {
| ^~~
toll.cpp:27:31: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
27 | #define FOR(i, a, b) for (int (i) = (a); i < (b); ++i)
| ^
toll.cpp:74:13: note: in expansion of macro 'FOR'
74 | FOR (j, 0, k) {
| ^~~
toll.cpp: In function 'int main()':
toll.cpp:27:31: warning: unnecessary parentheses in declaration of 'a' [-Wparentheses]
27 | #define FOR(i, a, b) for (int (i) = (a); i < (b); ++i)
| ^
toll.cpp:86:5: note: in expansion of macro 'FOR'
86 | FOR (a, 0, n)
| ^~~
toll.cpp:27:31: warning: unnecessary parentheses in declaration of 'b' [-Wparentheses]
27 | #define FOR(i, a, b) for (int (i) = (a); i < (b); ++i)
| ^
toll.cpp:87:9: note: in expansion of macro 'FOR'
87 | FOR (b, 0, LOGN)
| ^~~
toll.cpp:27:31: warning: unnecessary parentheses in declaration of 'c' [-Wparentheses]
27 | #define FOR(i, a, b) for (int (i) = (a); i < (b); ++i)
| ^
toll.cpp:88:13: note: in expansion of macro 'FOR'
88 | FOR (c, 0, k)
| ^~~
toll.cpp:27:31: warning: unnecessary parentheses in declaration of 'd' [-Wparentheses]
27 | #define FOR(i, a, b) for (int (i) = (a); i < (b); ++i)
| ^
toll.cpp:89:17: note: in expansion of macro 'FOR'
89 | FOR (d, 0, k)
| ^~~
toll.cpp:27:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
27 | #define FOR(i, a, b) for (int (i) = (a); i < (b); ++i)
| ^
toll.cpp:91:5: note: in expansion of macro 'FOR'
91 | FOR (i, 0, m) {
| ^~~
toll.cpp:27:31: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
27 | #define FOR(i, a, b) for (int (i) = (a); i < (b); ++i)
| ^
toll.cpp:96:5: note: in expansion of macro 'FOR'
96 | FOR (j, 1, LOGN) {
| ^~~
toll.cpp:27:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
27 | #define FOR(i, a, b) for (int (i) = (a); i < (b); ++i)
| ^
toll.cpp:97:9: note: in expansion of macro 'FOR'
97 | FOR (i, 0, n) {
| ^~~
toll.cpp:27:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
27 | #define FOR(i, a, b) for (int (i) = (a); i < (b); ++i)
| ^
toll.cpp:107:9: note: in expansion of macro 'FOR'
107 | FOR (i, 0, k)
| ^~~
toll.cpp:27:31: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
27 | #define FOR(i, a, b) for (int (i) = (a); i < (b); ++i)
| ^
toll.cpp:108:13: note: in expansion of macro 'FOR'
108 | FOR (j, 0, k)
| ^~~
toll.cpp:27:31: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
27 | #define FOR(i, a, b) for (int (i) = (a); i < (b); ++i)
| ^
toll.cpp:112:9: note: in expansion of macro 'FOR'
112 | FOR (i, 0, LOGN) {
| ^~~
toll.cpp:27:31: warning: unnecessary parentheses in declaration of 'x' [-Wparentheses]
27 | #define FOR(i, a, b) for (int (i) = (a); i < (b); ++i)
| ^
toll.cpp:115:17: note: in expansion of macro 'FOR'
115 | FOR (x, 0, k)
| ^~~
toll.cpp:27:31: warning: unnecessary parentheses in declaration of 'y' [-Wparentheses]
27 | #define FOR(i, a, b) for (int (i) = (a); i < (b); ++i)
| ^
toll.cpp:116:21: note: in expansion of macro 'FOR'
116 | FOR (y, 0, k)
| ^~~
toll.cpp:27:31: warning: unnecessary parentheses in declaration of 'x' [-Wparentheses]
27 | #define FOR(i, a, b) for (int (i) = (a); i < (b); ++i)
| ^
toll.cpp:119:17: note: in expansion of macro 'FOR'
119 | FOR (x, 0, k)
| ^~~
toll.cpp:27:31: warning: unnecessary parentheses in declaration of 'y' [-Wparentheses]
27 | #define FOR(i, a, b) for (int (i) = (a); i < (b); ++i)
| ^
toll.cpp:120:21: note: in expansion of macro 'FOR'
120 | FOR (y, 0, k)
| ^~~
toll.cpp:82:44: warning: variable 't0' set but not used [-Wunused-but-set-variable]
82 | chrono::high_resolution_clock::time_point t0 = chrono::high_resolution_clock::now();
| ^~
toll.cpp:131:44: warning: variable 't1' set but not used [-Wunused-but-set-variable]
131 | chrono::high_resolution_clock::time_point t1 = chrono::high_resolution_clock::now();
| ^~
toll.cpp: In function 'void setIO(std::string)':
toll.cpp:42:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
42 | freopen("input.txt","r",stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
toll.cpp:43:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
43 | freopen("output.txt","w",stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
toll.cpp:46:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
46 | freopen((name+".in").c_str(),"r",stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
toll.cpp:47:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
47 | freopen((name+".out").c_str(),"w",stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~