codeforces和atcoder的思维题目


- [AT3939 [ARC091D] Strange Nim](https://www.luogu.com.cn/problem/AT3939)
- [AT3945 [ARC092D] Two Faced Edges](https://www.luogu.com.cn/problem/AT3945)
- [AT3980 [ARC093C] Bichrome Spanning Tree](https://www.luogu.com.cn/problem/AT3980)
- [AT3981 [ARC093D] Dark Horse](https://www.luogu.com.cn/problem/AT3981)
- [AT4114 [ARC095D] Permutation Tree](https://www.luogu.com.cn/problem/AT4114)
- [AT4119 [ARC096C] Everything on It](https://www.luogu.com.cn/problem/AT4119)
- [AT4120 [ARC096D] Sweet Alchemy](https://www.luogu.com.cn/problem/AT4120)
- [AT4133 [ARC097D] Monochrome Cat](https://www.luogu.com.cn/problem/AT4133)
- [AT4144 [ARC098D] Donation](https://www.luogu.com.cn/problem/AT4144)
- [AT4163 [ARC099D] Eating Symbols Hard](https://www.luogu.com.cn/problem/AT4163)
- [AT4169 [ARC100D] Colorful Sequences](https://www.luogu.com.cn/problem/AT4169)
- [AT4352 [ARC101C] Ribbons on Tree](https://www.luogu.com.cn/problem/AT4352)
- [AT4353 [ARC101D] Robots and Exits](https://www.luogu.com.cn/problem/AT4353)
- [AT4363 [ARC102D] Revenge of BBuBBBlesort!](https://www.luogu.com.cn/problem/AT4363)
- [AT4432 [ARC103B] Robot Arms](https://www.luogu.com.cn/problem/AT4432)
- [AT4434 [ARC103D] Distance Sums](https://www.luogu.com.cn/problem/AT4434)
- [AT4996 [AGC034F] RNG and XOR](https://www.luogu.com.cn/problem/AT4996)
- [AT5140 [AGC035C] Skolem XOR Tree](https://www.luogu.com.cn/problem/AT5140)
- [AT5141 [AGC035D] Add and Remove](https://www.luogu.com.cn/problem/AT5141)
- [AT5142 [AGC035E] Develop](https://www.luogu.com.cn/problem/AT5142)
- [AT5143 [AGC035F] Two Histograms](https://www.luogu.com.cn/problem/AT5143)
- [AT5147 [AGC036D] Negative Cycle](https://www.luogu.com.cn/problem/AT5147)
- [AT5148 [AGC036E] ABC String](https://www.luogu.com.cn/problem/AT5148)
- [AT5149 [AGC036F] Square Constraints](https://www.luogu.com.cn/problem/AT5149)
- [AT5161 [AGC037D] Sorting a Grid](https://www.luogu.com.cn/problem/AT5161)
- [AT5162 [AGC037E] Reversing and Concatenating](https://www.luogu.com.cn/problem/AT5162)
- [AT5163 [AGC037F] Counting of Subarrays](https://www.luogu.com.cn/problem/AT5163)
- [AT5202 [AGC038E] Gachapon](https://www.luogu.com.cn/problem/AT5202)
- [AT5203 [AGC038F] Two Permutations](https://www.luogu.com.cn/problem/AT5203)
- [AT5618 [AGC039D] Incenters](https://www.luogu.com.cn/problem/AT5618)
- [AT5619 [AGC039E] Pairing Points](https://www.luogu.com.cn/problem/AT5619)
- [AT5620 [AGC039F] Min Product Sum](https://www.luogu.com.cn/problem/AT5620)
- [AT3878 [ARC089D] ColoringBalls](https://www.luogu.com.cn/problem/AT3878)
- [AT4505 [AGC029F] Construction of a tree](https://www.luogu.com.cn/problem/AT4505)
- [AT4512 [AGC030C] Coloring Torus](https://www.luogu.com.cn/problem/AT4512)
- [AT4513 [AGC030D] Inversion Sum](https://www.luogu.com.cn/problem/AT4513)
- [AT4514 [AGC030E] Less than 3](https://www.luogu.com.cn/problem/AT4514)
- [AT4515 [AGC030F] Permutation and Minimum](https://www.luogu.com.cn/problem/AT4515)
- [AT4694 [AGC031D] A Sequence of Permutations](https://www.luogu.com.cn/problem/AT4694)
- [AT4695 [AGC031E] Snuke the Phantom Thief](https://www.luogu.com.cn/problem/AT4695)
- [AT4696 [AGC031F] Walk on Graph](https://www.luogu.com.cn/problem/AT4696)
- [AT4518 [AGC032C] Three Circuits](https://www.luogu.com.cn/problem/AT4518)
- [AT4519 [AGC032D] Rotation Sort](https://www.luogu.com.cn/problem/AT4519)
- [AT4520 [AGC032E] Modulo Pairing](https://www.luogu.com.cn/problem/AT4520)
- [AT4521 [AGC032F] One Third](https://www.luogu.com.cn/problem/AT4521)
- [AT4927 [AGC033D] Complexity](https://www.luogu.com.cn/problem/AT4927)
- [AT4928 [AGC033E] Go around a Circle](https://www.luogu.com.cn/problem/AT4928)
- [AT4929 [AGC033F] Adding Edges](https://www.luogu.com.cn/problem/AT4929)
- [AT4994 [AGC034D] Manhattan Max Matching](https://www.luogu.com.cn/problem/AT4994)
- [AT4995 [AGC034E] Complete Compress](https://www.luogu.com.cn/problem/AT4995)
- [AT3939 [ARC091D] Strange Nim](https://www.luogu.com.cn/problem/AT3939)
- [AT3945 [ARC092D] Two Faced Edges](https://www.luogu.com.cn/problem/AT3945)
- [AT3980 [ARC093C] Bichrome Spanning Tree](https://www.luogu.com.cn/problem/AT3980)
- [AT3981 [ARC093D] Dark Horse](https://www.luogu.com.cn/problem/AT3981)
- [AT4114 [ARC095D] Permutation Tree](https://www.luogu.com.cn/problem/AT4114)
- [AT4119 [ARC096C] Everything on It](https://www.luogu.com.cn/problem/AT4119)
- [AT4120 [ARC096D] Sweet Alchemy](https://www.luogu.com.cn/problem/AT4120)
- [AT4133 [ARC097D] Monochrome Cat](https://www.luogu.com.cn/problem/AT4133)
- [AT4144 [ARC098D] Donation](https://www.luogu.com.cn/problem/AT4144)
- [AT4163 [ARC099D] Eating Symbols Hard](https://www.luogu.com.cn/problem/AT4163)
- [AT4169 [ARC100D] Colorful Sequences](https://www.luogu.com.cn/problem/AT4169)
- [AT4352 [ARC101C] Ribbons on Tree](https://www.luogu.com.cn/problem/AT4352)
- [AT4353 [ARC101D] Robots and Exits](https://www.luogu.com.cn/problem/AT4353)
- [AT4363 [ARC102D] Revenge of BBuBBBlesort!](https://www.luogu.com.cn/problem/AT4363)
- [AT4432 [ARC103B] Robot Arms](https://www.luogu.com.cn/problem/AT4432)
- [AT4434 [ARC103D] Distance Sums](https://www.luogu.com.cn/problem/AT4434)
- [AT4996 [AGC034F] RNG and XOR](https://www.luogu.com.cn/problem/AT4996)
- [AT5140 [AGC035C] Skolem XOR Tree](https://www.luogu.com.cn/problem/AT5140)
- [AT5141 [AGC035D] Add and Remove](https://www.luogu.com.cn/problem/AT5141)
- [AT5142 [AGC035E] Develop](https://www.luogu.com.cn/problem/AT5142)
- [AT5143 [AGC035F] Two Histograms](https://www.luogu.com.cn/problem/AT5143)
- [AT5147 [AGC036D] Negative Cycle](https://www.luogu.com.cn/problem/AT5147)
- [AT5148 [AGC036E] ABC String](https://www.luogu.com.cn/problem/AT5148)
- [AT5149 [AGC036F] Square Constraints](https://www.luogu.com.cn/problem/AT5149)
- [AT5161 [AGC037D] Sorting a Grid](https://www.luogu.com.cn/problem/AT5161)
- [AT5162 [AGC037E] Reversing and Concatenating](https://www.luogu.com.cn/problem/AT5162)
- [AT5163 [AGC037F] Counting of Subarrays](https://www.luogu.com.cn/problem/AT5163)
- [AT5202 [AGC038E] Gachapon](https://www.luogu.com.cn/problem/AT5202)
- [AT5203 [AGC038F] Two Permutations](https://www.luogu.com.cn/problem/AT5203)
- [AT5618 [AGC039D] Incenters](https://www.luogu.com.cn/problem/AT5618)
- [AT5619 [AGC039E] Pairing Points](https://www.luogu.com.cn/problem/AT5619)
- [AT5620 [AGC039F] Min Product Sum](https://www.luogu.com.cn/problem/AT5620)
- [AT3878 [ARC089D] ColoringBalls](https://www.luogu.com.cn/problem/AT3878)
- [AT4505 [AGC029F] Construction of a tree](https://www.luogu.com.cn/problem/AT4505)
- [AT4512 [AGC030C] Coloring Torus](https://www.luogu.com.cn/problem/AT4512)
- [AT4513 [AGC030D] Inversion Sum](https://www.luogu.com.cn/problem/AT4513)
- [AT4514 [AGC030E] Less than 3](https://www.luogu.com.cn/problem/AT4514)
- [AT4515 [AGC030F] Permutation and Minimum](https://www.luogu.com.cn/problem/AT4515)
- [AT4694 [AGC031D] A Sequence of Permutations](https://www.luogu.com.cn/problem/AT4694)
- [AT4695 [AGC031E] Snuke the Phantom Thief](https://www.luogu.com.cn/problem/AT4695)
- [AT4696 [AGC031F] Walk on Graph](https://www.luogu.com.cn/problem/AT4696)
- [AT4518 [AGC032C] Three Circuits](https://www.luogu.com.cn/problem/AT4518)
- [AT4519 [AGC032D] Rotation Sort](https://www.luogu.com.cn/problem/AT4519)
- [AT4520 [AGC032E] Modulo Pairing](https://www.luogu.com.cn/problem/AT4520)
- [AT4521 [AGC032F] One Third](https://www.luogu.com.cn/problem/AT4521)
- [AT4927 [AGC033D] Complexity](https://www.luogu.com.cn/problem/AT4927)
- [AT4928 [AGC033E] Go around a Circle](https://www.luogu.com.cn/problem/AT4928)
- [AT4929 [AGC033F] Adding Edges](https://www.luogu.com.cn/problem/AT4929)
- [AT4994 [AGC034D] Manhattan Max Matching](https://www.luogu.com.cn/problem/AT4994)
- [AT4995 [AGC034E] Complete Compress](https://www.luogu.com.cn/problem/AT4995)
- [AT3939 [ARC091D] Strange Nim](https://www.luogu.com.cn/problem/AT3939)
- [AT3945 [ARC092D] Two Faced Edges](https://www.luogu.com.cn/problem/AT3945)
- [AT3980 [ARC093C] Bichrome Spanning Tree](https://www.luogu.com.cn/problem/AT3980)
- [AT3981 [ARC093D] Dark Horse](https://www.luogu.com.cn/problem/AT3981)
- [AT4114 [ARC095D] Permutation Tree](https://www.luogu.com.cn/problem/AT4114)
- [AT4119 [ARC096C] Everything on It](https://www.luogu.com.cn/problem/AT4119)
- [AT4120 [ARC096D] Sweet Alchemy](https://www.luogu.com.cn/problem/AT4120)
- [AT4133 [ARC097D] Monochrome Cat](https://www.luogu.com.cn/problem/AT4133)
- [AT4144 [ARC098D] Donation](https://www.luogu.com.cn/problem/AT4144)
- [AT4163 [ARC099D] Eating Symbols Hard](https://www.luogu.com.cn/problem/AT4163)
- [AT4169 [ARC100D] Colorful Sequences](https://www.luogu.com.cn/problem/AT4169)
- [AT4352 [ARC101C] Ribbons on Tree](https://www.luogu.com.cn/problem/AT4352)
- [AT4353 [ARC101D] Robots and Exits](https://www.luogu.com.cn/problem/AT4353)
- [AT4363 [ARC102D] Revenge of BBuBBBlesort!](https://www.luogu.com.cn/problem/AT4363)
- [AT4432 [ARC103B] Robot Arms](https://www.luogu.com.cn/problem/AT4432)
- [AT4434 [ARC103D] Distance Sums](https://www.luogu.com.cn/problem/AT4434)
- [AT4996 [AGC034F] RNG and XOR](https://www.luogu.com.cn/problem/AT4996)
- [AT5140 [AGC035C] Skolem XOR Tree](https://www.luogu.com.cn/problem/AT5140)
- [AT5141 [AGC035D] Add and Remove](https://www.luogu.com.cn/problem/AT5141)
- [AT5142 [AGC035E] Develop](https://www.luogu.com.cn/problem/AT5142)
- [AT5143 [AGC035F] Two Histograms](https://www.luogu.com.cn/problem/AT5143)
- [AT5147 [AGC036D] Negative Cycle](https://www.luogu.com.cn/problem/AT5147)
- [AT5148 [AGC036E] ABC String](https://www.luogu.com.cn/problem/AT5148)
- [AT5149 [AGC036F] Square Constraints](https://www.luogu.com.cn/problem/AT5149)
- [AT5161 [AGC037D] Sorting a Grid](https://www.luogu.com.cn/problem/AT5161)
- [AT5162 [AGC037E] Reversing and Concatenating](https://www.luogu.com.cn/problem/AT5162)
- [AT5163 [AGC037F] Counting of Subarrays](https://www.luogu.com.cn/problem/AT5163)
- [AT5202 [AGC038E] Gachapon](https://www.luogu.com.cn/problem/AT5202)
- [AT5203 [AGC038F] Two Permutations](https://www.luogu.com.cn/problem/AT5203)
- [AT5618 [AGC039D] Incenters](https://www.luogu.com.cn/problem/AT5618)
- [AT5619 [AGC039E] Pairing Points](https://www.luogu.com.cn/problem/AT5619)
- [AT5620 [AGC039F] Min Product Sum](https://www.luogu.com.cn/problem/AT5620)
- [AT3878 [ARC089D] ColoringBalls](https://www.luogu.com.cn/problem/AT3878)
- [AT4505 [AGC029F] Construction of a tree](https://www.luogu.com.cn/problem/AT4505)
- [AT4512 [AGC030C] Coloring Torus](https://www.luogu.com.cn/problem/AT4512)
- [AT4513 [AGC030D] Inversion Sum](https://www.luogu.com.cn/problem/AT4513)
- [AT4514 [AGC030E] Less than 3](https://www.luogu.com.cn/problem/AT4514)
- [AT4515 [AGC030F] Permutation and Minimum](https://www.luogu.com.cn/problem/AT4515)
- [AT4694 [AGC031D] A Sequence of Permutations](https://www.luogu.com.cn/problem/AT4694)
- [AT4695 [AGC031E] Snuke the Phantom Thief](https://www.luogu.com.cn/problem/AT4695)
- [AT4696 [AGC031F] Walk on Graph](https://www.luogu.com.cn/problem/AT4696)
- [AT4518 [AGC032C] Three Circuits](https://www.luogu.com.cn/problem/AT4518)
- [AT4519 [AGC032D] Rotation Sort](https://www.luogu.com.cn/problem/AT4519)
- [AT4520 [AGC032E] Modulo Pairing](https://www.luogu.com.cn/problem/AT4520)
- [AT4521 [AGC032F] One Third](https://www.luogu.com.cn/problem/AT4521)
- [AT4927 [AGC033D] Complexity](https://www.luogu.com.cn/problem/AT4927)
- [AT4928 [AGC033E] Go around a Circle](https://www.luogu.com.cn/problem/AT4928)
- [AT4929 [AGC033F] Adding Edges](https://www.luogu.com.cn/problem/AT4929)
- [AT4994 [AGC034D] Manhattan Max Matching](https://www.luogu.com.cn/problem/AT4994)
- [AT4995 [AGC034E] Complete Compress](https://www.luogu.com.cn/problem/AT4995)
AGC026D
AGC026F


https://oi-wiki.org/math/balanced-ternary/