Hi!
Thanks to all of you participates, who made this contest possible. And thanks to Lewin and Arterm, also to the great coordinator, Nikolay KAN Kalinin, zemen, WHITE2302, and for sure MikeMirzayanov.
Test data and code solutions. It's the original packages from polygon, you can find pretests, tests, generators, validators, etc in it.
Hints
Div.2 A: Take a look at notes section.
Div.2 B: Create a circle with these points.
Div.1 B: Fix the gcd.
Div.1 C: Tag: Grundy number.
Details
Div.1 C
I want to thank my grand teacher Mojtaba moji FayazBakhsh here. Who was my teacher not only for coding but also a teacher for my life. Thanks Mojtaba! Thanks to you and all of other good teachers in the world.
Solutions
Author: Arpa
Author: Arpa
Author: Lewin
Thanks to Lewin, the writer of this tutorial.
Author: Arpa
Author: Arpa
Author: Arterm
Thanks to WHITE2302, the writer of this tutorial. I translated this tutorial to English.
Author: Arterm
Thanks to Arterm, the writer of this tutorial.
Author: Lewin
Thanks to Lewin, the writer of this tutorial.
I’d like to finish the editorial with the below poem by Hatef Esfahani:
Translation: What can lover (Farhad) do with the power of love? He has no choice but to hurt himself by ax because he feels jealousy to Khosrow. More information about Khosrow and Shirin story.
Good luck and see you soon ;)