The Preliminary Contest for ICPC As
Knight.Panda
ᕕ(˵•̀෴•́˵)ᕗ上分吗
展开
-
The beautiful values of the palace
Here is a square matrix of n∗nn * nn∗n, each lattice has its value (nnn must be odd), and the center value is n∗nn * nn∗n. Its spiral decline along the center of the square matrix (the way of spiral d...原创 2019-09-02 19:34:04 · 226 阅读 · 0 评论 -
Greedy Sequence
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 the following rules: si[1]=is_i[1]=isi[1]=i; ...原创 2019-09-02 19:55:28 · 91 阅读 · 0 评论