Codeforces will not be available in the period 01:00-05:00 May, 30 (MSK, UTC +3) because of maintenance. ×

### hocky's blog

By hocky, history, 2 months ago, ,

Dear Codeforces community,

It's the time of the year again, we believe it will never be too late to celebrate April Fools!
We're excited to invite you to TOKI Special Open Contest (TSOC) — April Fools 2020!

Key details:

Please register to the contest, and we hope you will enjoy TSOC — April Fools 2020!

We would like to thank yogahmad77, Prabowo as organizers who worked really hard to prepare the contest, and all the writers as testers.

UPD: The contest is over! Congratulations to the top 5:

1. zscoder, Solved 11 problems, didn't solve F, First solve E, H, and J!
2. i_type_stuff, Solved 9 problems, First solve F and G!
3. faustaadp, Solved 8 problems, First solve K (One shot)!
4. ayaze, Solved 8 problems, Solves D (One shot)!
5. Motarack, Solved 8 Problems, Solves E,F,H,I,J,K, and L (One Shot)!

Honorable Mentions:

Editorial is available here.

Thank you for participating! See you in the next TROC(s)!

• +73

 » 2 months ago, # |   +43 he turned himself into a pickle, funniest sht i've ever seen
 » 2 months ago, # |   +18 Hope that this contest will be a fresh air after doing Codeforces' April Fools Contest!
 » 2 months ago, # |   +12 Participated in TOKI Special Open Contest April Fool contest 2016, 2017, 2018 and it was fun. Looking forward for this contest :D.
•  » » 2 months ago, # ^ | ← Rev. 2 →   +7 Thanks for reminding me. Here's TSOC — April Fools 2018! This contest will be available in English only, the same as 2018's.
 » 2 months ago, # |   +12 I am excited for this after partcicipating in previous April fool contest on 1st april.
 » 2 months ago, # | ← Rev. 4 →   0 Надеюсь, этот конкурс не такой странный, как Codeforces апрельский конкурс дураков, но я уверен, что будет весело
 » 2 months ago, # |   0 Bump! The contest will start soon!
 » 2 months ago, # | ← Rev. 4 →   +13 Mfw didn't solve the easiest problem (stupid F) and still won the contest.UPD: Mfw guessed the right answer for C in the last minute lol.Btw, how to solve tests 1,4,5,7 for M (I think). I tried looking at the past TOKI Regular rounds but only solved all cases except the ones mentioned hmm.Also, why is the answer to C Spoiler88
•  » » 2 months ago, # ^ |   0 While we are still compiling the results, you can find the editorial here.
 » 2 months ago, # |   0 Auto comment: topic has been updated by hocky (previous revision, new revision, compare).
 » 2 months ago, # | ← Rev. 4 →   +8 My approach to all the problems I solved (note that some of them are obviously not intended): AAnswer is A+B factorial. Somehow I thought it is double factorial for a long time and thus got stuck on this problem (which also costed me F T_T). BIn the first announcement, there is a white text giving the answer. CI actually don't know how to solve this problem. However, some guy submitted $94$ times before the submission limit got reduced to $20$. Thus, I guess that the answer should be around $94$. I tried roughly $15$ values around $94$ and found the answer.Thanks BohdanPastuschak for making the $94$ submissions :) DNote that A000040 on OEIS are the primes while A072538 is a modified list of primes. Output that sequence. EOn the first line, output the names of the N students, in any permutation. On the second line, output the N floors where the students live, in any permutation.Just do that lolF: ouch GTwo-letter codes are country codes and you need to output the phone codes. Note that there are country codes that do not begin with the ones given in the map, so I parsed all of them from some random list online. HMy thoughts during contest: Solve the problem (while making sure you take care of the corner cases). Note that the last sample is wrong (a hoax).Actual solution: You don't need to minimize the number of days :face_palm: IDownload the image, and floodfill (with say Paint) to read the hidden text. JOutput $1 + 1 + 2 + ... + n$. See this part of statement."In other words, after he pays a to visit a-th city and goes back to the first city, he wants a path that costs him the least." KActually I just started with one deterministic strategy that beats the first 2 cases, and another that beats the last, and select the first one with $\frac{2}{3}$ probability and the last one with $\frac{1}{3}$ probability. It should pass in expected $7$ tries.After seeing actual solution: Wow, so it really is random after all lol. LOutput $0$. I just saw the sample and YOLOed.
•  » » 2 months ago, # ^ |   +8 I understood that number of my submissions will be a hint for others:) At first I assumed answer be not more than some reasonable value, but after ~30 submissions it was hard to stop)