Codeforces

Mar 30, 2025 Codeforces

427 Prison Transfer

The prison of your city has n prisoners. As the prison can't accommodate all of them, the city mayor has decided to transfer c of the prisoners to a prison.

Read more →
Apr 17, 2025 Codeforces

Game With Sticks

After winning gold and silver in IOI 2014, Akshat and Malvika want to have some fun. Now they are playing a game on a grid made of n horizontal and m vertical.

Read more →
Mar 17, 2025 Codeforces

Problem - 158B Taxi

After the lessons n groups of schoolchildren went outside and decided to visit Polycarpus to celebrate his birthday. We know that the i-th group consists

Read more →