tenis.cpp: In function 'int main()':
tenis.cpp:39:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
   39 |     scanf("%lld %lld",&n,&e);
      |     ~~~~~^~~~~~~~~~~~~~~~~~~
tenis.cpp:42:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
   42 |         scanf("%lld",&a[1][i]);
      |         ~~~~~^~~~~~~~~~~~~~~~~
tenis.cpp:48:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
   48 |         scanf("%lld",&a[2][j]);
      |         ~~~~~^~~~~~~~~~~~~~~~~
tenis.cpp:54:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
   54 |         scanf("%lld",&a[3][i]);
      |         ~~~~~^~~~~~~~~~~~~~~~~
tenis.cpp:60:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
   60 |         scanf("%lld",&x);
      |         ~~~~~^~~~~~~~~~~
tenis.cpp:63:18: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
   63 |             scanf("%lld",&y);
      |             ~~~~~^~~~~~~~~~~
tenis.cpp:70:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
   70 |         scanf("%lld %lld %lld",&z,&x,&y);
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
tenis.cpp: In function 'll f(ll)':
tenis.cpp:11:48: warning: array subscript 3 is above array bounds of 'll [3][1100000]' {aka 'long long int [3][1100000]'} [-Warray-bounds]
   11 |         b[1][3][i]=max(b[1][3][i-1],a[3][perm[3][i]]);
      |                                          ~~~~~~^
tenis.cpp:4:59: note: while referencing 'perm'
    4 | ll n,i,j,k,l,r,x,y,z,w,s,t,a[4][1100000],b[4][4][1100000],perm[3][1100000],e,ee;
      |                                                           ^~~~
tenis.cpp: In function 'int main()':
tenis.cpp:56:15: warning: array subscript 3 is above array bounds of 'll [3][1100000]' {aka 'long long int [3][1100000]'} [-Warray-bounds]
   56 |         perm[3][a[3][i]]=i;
      |         ~~~~~~^
tenis.cpp:4:59: note: while referencing 'perm'
    4 | ll n,i,j,k,l,r,x,y,z,w,s,t,a[4][1100000],b[4][4][1100000],perm[3][1100000],e,ee;
      |                                                           ^~~~