jarvis.cpp: In function 'int main()':
jarvis.cpp:7:11: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld\n",&n);
~~~~~^~~~~~~~~~~~~
jarvis.cpp:9:13: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&a[i]);
~~~~~^~~~~~~~~~~~~~
jarvis.cpp:12:13: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&b[i]);
~~~~~^~~~~~~~~~~~~~