You're given a permutation aaa of length nnn (1≤n≤1051 \le n \le 10^51≤n≤105). For each i∈[1,n]i \in [1,n]i∈[1,n], construct a sequence sis_isi​ by th Read More
posted @ 2019-09-13 16:01 厂长在线养猪 Views(171) Comments(0) Diggs(0) Edit
XKC , the captain of the basketball team , is directing a train of nnn team members. He makes all members stand in a row , and numbers them 1⋯n1 \cdot Read More
posted @ 2019-09-13 12:47 厂长在线养猪 Views(204) Comments(0) Diggs(0) Edit