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:116:5: note: in expansion of macro 'forto'
116 | forto(all.size() / 2, i) {
| ^~~~~
net.cpp:15:52: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ~~~~~~^~~~~~~~
net.cpp:116:5: note: in expansion of macro 'forto'
116 | forto(all.size() / 2, i) {
| ^~~~~