santa.cpp:66:10: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
66 | main(void){
| ^
santa.cpp: In function 'int main()':
santa.cpp:67:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
67 | scanf("%lld",&t);
| ~~~~~^~~~~~~~~~~
santa.cpp:69:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
69 | scanf("%lld",&n);
| ~~~~~^~~~~~~~~~~
santa.cpp:70:12: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
70 | FOR scanf("%lld",&a[i]);
| ~~~~~^~~~~~~~~~~~~~
santa.cpp:71:12: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
71 | FOR scanf("%lld",&b[i]);
| ~~~~~^~~~~~~~~~~~~~
santa.cpp:72:12: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
72 | FOR scanf("%lld",&c[i]);
| ~~~~~^~~~~~~~~~~~~~