Codeforces 840C. On the Bench
A year ago on the bench in public park Leha found an array of n numbers. Leha believes that permutation p is right if for all 1 ≤ i < n condition, that api·api + 1 is not perfect square, holds. Leh...
原创
2018-07-27 16:24:40 ·
379 阅读 ·
0 评论