CodeForces - 320D A - Psychos in a Line(栈)

There are n psychos standing in a line. Each psycho is assigned a unique integer from 1 to n. At each step every psycho who has an id greater than th...

2018-12-02 15:44:03

阅读数 50

评论数 0

CodeForces - 280B Maximum Xor Secondary(单调栈)

Bike loves looking for the second maximum element in the sequence. The second maximum element in the sequence of distinct numbers x1, x2, ..., xk (k...

2018-11-19 20:00:18

阅读数 49

评论数 0

取消 删除