strange_device.cpp: In function 'int main()':
strange_device.cpp:10:23: warning: unnecessary parentheses in declaration of 'n' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
strange_device.cpp:32:9: note: in expansion of macro 'get'
32 | get(n);
| ^~~
strange_device.cpp:10:23: warning: unnecessary parentheses in declaration of 'A' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
strange_device.cpp:33:9: note: in expansion of macro 'get'
33 | get(A);
| ^~~
strange_device.cpp:10:23: warning: unnecessary parentheses in declaration of 'B' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
strange_device.cpp:34:9: note: in expansion of macro 'get'
34 | get(B);
| ^~~
strange_device.cpp:15:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
strange_device.cpp:39:9: note: in expansion of macro 'forto'
39 | forto(n, i) {
| ^~~~~
strange_device.cpp:10:23: warning: unnecessary parentheses in declaration of 'l' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
strange_device.cpp:40:13: note: in expansion of macro 'get'
40 | get(l);
| ^~~
strange_device.cpp:10:23: warning: unnecessary parentheses in declaration of 'r' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
strange_device.cpp:41:13: note: in expansion of macro 'get'
41 | get(r);
| ^~~
strange_device.cpp:15:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
strange_device.cpp:62:9: note: in expansion of macro 'forto'
62 | forto(m, i) {
| ^~~~~
strange_device.cpp:54:41: warning: 'large' may be used uninitialized in this function [-Wmaybe-uninitialized]
54 | events.push_back({large - 1, 1});
| ~~~~~~^~~