bosses.cpp: In function 'long long int solve(long long int)':
bosses.cpp:15:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
bosses.cpp:42:5: note: in expansion of macro 'forto'
42 | forto(n, i) ans += dist[i];
| ^~~~~
bosses.cpp: In function 'int main()':
bosses.cpp:10:23: warning: unnecessary parentheses in declaration of 'n' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
bosses.cpp:51:9: note: in expansion of macro 'get'
51 | get(n);
| ^~~
bosses.cpp:15:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
bosses.cpp:53:9: note: in expansion of macro 'forto'
53 | forto(n, i) {
| ^~~~~
bosses.cpp:10:23: warning: unnecessary parentheses in declaration of 'cnt' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
bosses.cpp:54:13: note: in expansion of macro 'get'
54 | get(cnt);
| ^~~
bosses.cpp:15:35: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
bosses.cpp:55:13: note: in expansion of macro 'forto'
55 | forto(cnt, j) {
| ^~~~~
bosses.cpp:10:23: warning: unnecessary parentheses in declaration of 'v' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
bosses.cpp:56:17: note: in expansion of macro 'get'
56 | get(v);
| ^~~
bosses.cpp:15:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
bosses.cpp:62:9: note: in expansion of macro 'forto'
62 | forto(n, i) {
| ^~~~~