Prison Break Codeforces Round #709 Div. 2 Solution

Prison Break solution codeforces Michael is accused of violating the social distancing rules and creating a risk of spreading coronavirus. He is now sent to prison. Luckily, Michael knows exactly what the prison looks like from the inside, especially since it’s very simple. The prison can be represented as a rectangle a×ba×b which is divided into abab cells, each … Read more