crazy.cpp: In function 'int main()':
crazy.cpp:41:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" ,& T);
~~~~~^~~~~~~~~~~
crazy.cpp: In function 'void Test()':
crazy.cpp:29:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , & n);
~~~~~^~~~~~~~~~~~
crazy.cpp:31:12: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , a + i);
~~~~~^~~~~~~~~~~~~~