Khayyam
Khayyam7
Azerbaijan
Приєднався 29 вер. 2024 р.
Задачі37
Відправки16
skolodyazhnyy thank you man! i thought N is the numbers of passengers after Vanja
In input 4, isn't the answer 5? Because Peter will be the sixth person and he will get a prime number ticket which is 29. But the given answer is -1. In my program, everything is true except for the 4th test.
i dont get it, can spider jump on the fly? for example what happens if spider is on the ceiling can it jump on the fly or it should go across walls