Dear Codeforces community,
We're excited to invite you to TOKI Regular Open Contest (TROC) #10!
Key details:
- Rated
- Contest links: Div 1 and Div 2
- Time: 1 February 2020, 19:05 UTC+7
- Style: full feedback, with penalty (time taken to reach current score) + (4-minute penalty per wrong submission)
- Scoring: You get the score assigned to the problem when you fully solve it
- Writers: hocky Pa.Nic phillotunru1
- Duration: 2 hours
- Problems: 6 for every division
- Allowed languages: C, C++11, Pascal, Java, Python 3
The round uses two divisions system:
- Users with rating less than 2000 or not yet rated should participate in Div 2
- Users with rating at least 2000 should participate in Div 1
Scoring distribution:
- Div 2: 100 — 200 — 300 — 400 — 500 — 500
- Div 1: 100 — 200 — 300 — 300 — 450 — 500
Please register to the contest, and we hope you will enjoy TROC #10!
UPD1: Contest is over! Our Top 5:
Div 1:
- antontrygubO_o
- Egor
- wiwitrifai
- Yahor Dubovik
- Pyqe
Div 2:
Editorial is available here (English on page 5).
You can upsolve the problems here.
We would like to thank fushar as technical committee, and also ayaze and IgoRamli as testers.
Thank you for participating and see you on the next contest!
Bumpy bump! The contest will start in 15 minutes!
Me realizing the contest will start in 5 minutes but havent typed my template yet
When youre late, but still able to register and compete in the contest
Benq on Div 2:
One man meme army.
How to do F?
Editorial will be posted soon!
For Div 2. F, i just wrote an n^3 dp and looked for patterns on when B wins
k < n-1 && l > k
Thanks. I wrote the brute force but didnt try to figure pattern. :(
antontrygubO_o Congratulations!
I just solved this problem before: 995E - Number Clicker
I think you changed order of top 2 in div 1. Though I still have no clue where's big in mitm in my F
Thank you for noticing it, I fixed the top 5 order.
For your F, it looks like you missed the case when you do not have to do modulo operation.
That was last submission where I just commented out that part. Actually I have this case
can someone share AC code for div2D please?
Example Solution Author: prabowo