net.cpp: In function 'int main()':
net.cpp:10:23: warning: unnecessary parentheses in declaration of 'n' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
net.cpp:38:5: note: in expansion of macro 'get'
38 | get(n);
| ^~~
net.cpp:15:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
net.cpp:40:5: note: in expansion of macro 'forto'
40 | forto(n - 1, i) {
| ^~~~~
net.cpp:10:23: warning: unnecessary parentheses in declaration of 'a' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
net.cpp:41:9: note: in expansion of macro 'get'
41 | get(a);
| ^~~
net.cpp:10:23: warning: unnecessary parentheses in declaration of 'b' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
net.cpp:42:9: note: in expansion of macro 'get'
42 | get(b);
| ^~~
net.cpp:15:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
net.cpp:50:5: note: in expansion of macro 'forto'
50 | forto(n, i) {
| ^~~~~
net.cpp:15:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
net.cpp:55:5: note: in expansion of macro 'forto'
55 | forto(n, i) {
| ^~~~~
net.cpp:15:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
net.cpp:66:5: note: in expansion of macro 'forto'
66 | forto(n, i) {
| ^~~~~
net.cpp:15:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
net.cpp:86:17: note: in expansion of macro 'forto'
86 | forto(n, i) {
| ^~~~~
net.cpp:15:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
net.cpp:102:21: note: in expansion of macro 'forto'
102 | forto(n, i) {
| ^~~~~
net.cpp:15:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
net.cpp:130:13: note: in expansion of macro 'forto'
130 | forto(twos, i) {
| ^~~~~
net.cpp:15:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
net.cpp:134:13: note: in expansion of macro 'forto'
134 | forto(ones / 2 - 1, i) {
| ^~~~~
net.cpp:15:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
net.cpp:137:13: note: in expansion of macro 'forto'
137 | forto(twos / 2 - 1, i) {
| ^~~~~
net.cpp:15:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
net.cpp:145:9: note: in expansion of macro 'forto'
145 | forto(ones / 2, i) {
| ^~~~~
net.cpp:15:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
net.cpp:148:9: note: in expansion of macro 'forto'
148 | forto(twos / 2, i) {
| ^~~~~