bitaro.cpp:54: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:55: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:55: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:55: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:58: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:58: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:62:7: 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:62:15: 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:70:13: note: in expansion of macro 'scan'
scan(x);
^~~~