This editorial corresponds to 2019 Summer Petrozavodsk Camp, Day 8: XIX Open Cup Onsite held on Sept. 1st, 2019, a.k.a "Jingzhe Tang Contest 2". Moreover, this problem set was a selection of "CCPC-Wannafly Winter Camp 2018, Day 2 (Div. 1 & Div. 2)" held on Jan 30th, 2019.
Feel free to comment on the tutorials listed in the following (with some follow-up questions left to readers). Hope you enjoy solving these problems.
solution
103652B - Linear Congruential Generator
solution
103652C - Fibonacci Strikes Back
solution
solution
solution
solution
solution
solution
solution
solution
solution
solution