bitaro.cpp:48:7: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
main () {
^
bitaro.cpp: In function 'int main()':
bitaro.cpp:10:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
#define scan(a) scanf ("%d", &a)
~~~~~~^~~~~~~~~~
bitaro.cpp:49:7: note: in expansion of macro 'scan'
scan(n);scan(m);scan(qy);
^~~~
bitaro.cpp:10:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
#define scan(a) scanf ("%d", &a)
~~~~~~^~~~~~~~~~
bitaro.cpp:49:15: note: in expansion of macro 'scan'
scan(n);scan(m);scan(qy);
^~~~
bitaro.cpp:10:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
#define scan(a) scanf ("%d", &a)
~~~~~~^~~~~~~~~~
bitaro.cpp:49:23: note: in expansion of macro 'scan'
scan(n);scan(m);scan(qy);
^~~~
bitaro.cpp:10:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
#define scan(a) scanf ("%d", &a)
~~~~~~^~~~~~~~~~
bitaro.cpp:52:13: note: in expansion of macro 'scan'
scan(l);scan(r);
^~~~
bitaro.cpp:10:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
#define scan(a) scanf ("%d", &a)
~~~~~~^~~~~~~~~~
bitaro.cpp:52:21: note: in expansion of macro 'scan'
scan(l);scan(r);
^~~~
bitaro.cpp:10:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
#define scan(a) scanf ("%d", &a)
~~~~~~^~~~~~~~~~
bitaro.cpp:57:13: note: in expansion of macro 'scan'
scan(t);scan(y);
^~~~
bitaro.cpp:10:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
#define scan(a) scanf ("%d", &a)
~~~~~~^~~~~~~~~~
bitaro.cpp:57:21: note: in expansion of macro 'scan'
scan(t);scan(y);
^~~~
bitaro.cpp:10:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
#define scan(a) scanf ("%d", &a)
~~~~~~^~~~~~~~~~
bitaro.cpp:64:19: note: in expansion of macro 'scan'
scan(x);
^~~~