ll@N,@M,@A[N],t,j;double@B[M];set>C; cerr<(c)));j=get<2>(c)+1;C.erase(c);C.insert({-A[t]/B[j],t,j});}