Open xehoth opened 7 years ago
https://blog.xehoth.cc/ARC-079D-Decrease-Contestant-ver/
给定一个数 kkk,要求构造一个非负整数序列,使得操作 kkk 次后,最大数 ≤n−1\leq n - 1≤n−1,每次操作选序列中最大值,将其 −n-n−n,其余数 +1+1+1。
https://blog.xehoth.cc/ARC-079D-Decrease-Contestant-ver/
给定一个数 kkk,要求构造一个非负整数序列,使得操作 kkk 次后,最大数 ≤n−1\leq n - 1≤n−1,每次操作选序列中最大值,将其 −n-n−n,其余数 +1+1+1。