skyscraper.cpp: In function 'int main()':
skyscraper.cpp:6:23: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
6 | #define input(x) scanf("%d", &x);
| ~~~~~^~~~~~~~~~
skyscraper.cpp:18:2: note: in expansion of macro 'input'
18 | input(n); input(m);
| ^~~~~
skyscraper.cpp:6:23: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
6 | #define input(x) scanf("%d", &x);
| ~~~~~^~~~~~~~~~
skyscraper.cpp:18:12: note: in expansion of macro 'input'
18 | input(n); input(m);
| ^~~~~
skyscraper.cpp:6:23: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
6 | #define input(x) scanf("%d", &x);
| ~~~~~^~~~~~~~~~
skyscraper.cpp:24:3: note: in expansion of macro 'input'
24 | input(b); input(p);
| ^~~~~
skyscraper.cpp:6:23: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
6 | #define input(x) scanf("%d", &x);
| ~~~~~^~~~~~~~~~
skyscraper.cpp:24:13: note: in expansion of macro 'input'
24 | input(b); input(p);
| ^~~~~