- 博客(8)
- 收藏
- 关注
原创 Prison Transfer CodeForces - 427B
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 located in another city. For this reason, h...
2018-07-30 17:30:36
268
原创 Bakery CodeForces - 707B
Masha wants to open her own bakery and bake muffins in one of the n cities numbered from 1 to n. There are m bidirectional roads, each of whose connects some pair of cities. To bake muffins in her ba...
2018-07-30 17:24:59
156
原创 Rails UVA - 514
There is a famous railway station in PopPush City. Country there is incredibly hilly. The station was built in last century. Unfortunately, funds were extremely limited that time. It was po...
2018-07-27 08:37:37
182
原创 Ananagrams UVA - 156
Most crossword puzzle fans are used to anagrams — groups of words with the same letters in different orders — for example OPTS, SPOT, STOP, POTS and POST. Some words however do not have this at...
2018-07-27 08:24:06
122
原创 Joysticks CodeForces - 651A
Friends are going to play console. They have two joysticks and only one charger for them. Initially first joystick is charged at a1percent and second one is charged at a2 percent. You can connect char...
2018-07-22 21:52:34
136
原创 Bear and Five Cards CodeForces - 680A
A little bear Limak plays a game. He has five cards. There is one number written on each card. Each number is a positive integer. Limak can discard (throw out) some cards. His goal is to minimize the...
2018-07-22 21:50:06
245
原创 Round House CodeForces - 659A
Vasya lives in a round building, whose entrances are numbered sequentially by integers from 1 to n. Entrance n and entrance 1 are adjacent.Today Vasya got bored and decided to take a walk in the y...
2018-07-22 21:46:37
177
原创 Gold Coins POJ--2000
The king pays his loyal knight in gold coins. On the first day of his service, the knight receives one gold coin. On each of the next two days (the second and third days of service), the knigh...
2018-07-21 20:54:48
186
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人