Link to the problem: https://codeforces.com/problemset/pro...
We'll solve it in Python. We'll look at a simple iterative version and a more complex functional version with generators and inclusions.
Playlist with solutions to other problems from CodeForces - • Codeforces
*
Sign up for programming lessons with me - https://shitpoet.cc/mentor.html
You can also contact me on:
telegram - https://t.me/shitpoet
whatsapp - https://wa.me/+995522224617
email - [email protected]
Support the channel:
boosty - https://boosty.to/vprie
PayPal https://www.paypal.com/paypalme/IERus...
Sberbank +79038901601
You can also order a video from me on a topic that interests you.
Or simply suggest a topic for the next video in the comments.
You can also sign up for an open (public) class with me (please message me directly)
You can also suggest your code for a code review (please message me directly)