2019 亚洲区域赛(南京)网络赛
Knight.Panda
ᕕ(˵•̀෴•́˵)ᕗ上分吗
展开
-
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 评论 -
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 评论 -
super _log(幂塔类型题目)欧拉降幂
14.14% 1000ms 131072K In Complexity theory, some functions are nearly O(1)O(1)O(1), but it is greater then O(1)O(1)O(1). For example, the complexity of a typical disjoint set is O(nα(n)...原创 2019-09-05 11:02:39 · 213 阅读 · 0 评论