subsequence.cpp: In function 'int main()':
subsequence.cpp:20:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &n) ;
~~~~~^~~~~~~~~~~
subsequence.cpp:22:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &arr[i]) ;
~~~~~^~~~~~~~~~~~~~~~
subsequence.cpp:24:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &arr2[i]) ;
~~~~~^~~~~~~~~~~~~~~~~
subsequence.cpp:13:7: warning: 'en' may be used uninitialized in this function [-Wmaybe-uninitialized]
print(prv[now]) ;
~~~~~^~~~~~~~~~
subsequence.cpp:25:16: note: 'en' was declared here
int Max = 0 , en , vall , valr , x;
^~