#include using namespace std; int main(){ int q; cin>>q; while(q--) { int n,t; cin>>n>>t; int a[n],b[n]; for(int i=0;i>a[i]; } for(int i=0;i>b[i]; } int ent=0; int index=-1; for(int i=0;ient) { ent=b[i]; index=i+1; } } } cout<