tenis.cpp:42:10: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
main(void){
^
tenis.cpp: In function 'int main()':
tenis.cpp:43:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld",&n,&t);
~~~~~^~~~~~~~~~~~~~~~~~~
tenis.cpp:45:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&a[i]);
~~~~~^~~~~~~~~~~~~~
tenis.cpp:48:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&b[i]);
~~~~~^~~~~~~~~~~~~~
tenis.cpp:51:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&c[i]);
~~~~~^~~~~~~~~~~~~~
tenis.cpp:59:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld",&m,&k);
~~~~~^~~~~~~~~~~~~~~~~~~