Basic Problem

Revision en6, by quandlm, 2023-01-02 18:54:00

Can you help me this (i think this problem can be used for many orthers) : We have arrange a and q querries (q <= 1e5) and there are 2 type : [cut] 1 x y : put a[y] between index x-1 and x [cut] (ex : a[] = {1,9,3,6,5} and querry is 1 2 4 then a[] = {1,6,9,3,5}) [cut] 2 x : show the value of a[x] [cut] sorry bad english and thanks for the help :DD

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en7 English quandlm 2023-01-02 18:55:44 22
en6 English quandlm 2023-01-02 18:54:00 39
en5 English quandlm 2023-01-02 18:52:04 375 Reverted to en3
en4 English quandlm 2023-01-02 18:51:48 375 Tiny change: '' -> 'i have this :'
en3 English quandlm 2023-01-02 18:44:33 18
en2 English quandlm 2023-01-02 18:43:04 19
en1 English quandlm 2023-01-02 18:40:57 402 Initial revision (published)