gogopher.cpp: In function 'int main()':
gogopher.cpp:5:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for (scanf("%d",&T), tc = 1; tc <= T; ++tc) {
~~~~~~~~~~~~~~^~~~~~~~
gogopher.cpp:7:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for (scanf("%d", &A), i = 2; i_ + j_; i += 3) {
~~~~~~~~~~~~~~~^~~~~~~
gogopher.cpp:11:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&i_,&j_);
~~~~~^~~~~~~~~~~~~~~~