Problem 0277. Счастливые билеты strike back!

Go to problem statement
Threads:
ThreadAuthorCreatedLast message

 

New thread.