bitaro.cpp:52: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:53: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:53: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:53: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:56: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:56: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:60: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:60: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:68:13: note: in expansion of macro 'scan'
scan(x);
^~~~