gogopher.cpp: In function 'std::pair<int, int> ask(std::pair<int, int>&)':
gogopher.cpp:17:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &ret.first, &ret.second);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gogopher.cpp: In function 'void solve()':
gogopher.cpp:39:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &A);
~~~~~^~~~~~~~~~
gogopher.cpp: In function 'int main()':
gogopher.cpp:53:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
~~~~~^~~~~~~~~~