- 博客(8)
- 收藏
- 关注
原创 codeforces #378C(733.C) Epidemic in Monstropolis
There was an epidemic in Monstropolis and all monsters became sick. To recover, all monsters lined up in queue for an appointment to the only doctor in the city.Soon, monsters became hungry and be
2017-05-20 19:30:30 380
原创 codeforces #378F(733.F) Drivers Dissatisfaction
F. Drivers Dissatisfactiontime limit per test4 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputIn one kingdom there are n citie
2017-05-20 19:14:48 459
原创 bzoj 1260: [CQOI2007]涂色paint
Description假设你有一条长度为5的木版,初始时没有涂过任何颜色。你希望把它的5个单位长度分别涂上红、绿、蓝、绿、红色,用一个长度为5的字符串表示这个目标:RGBGR。 每次你可以把一段连续的木版涂成一个给定的颜色,后涂的颜色覆盖先涂的颜色。例如第一次把木版涂成RRRRR,第二次涂成RGGGR,第三次涂成RGBGR,达到目标。 用尽量少的涂色次数达到目标。Input输入
2017-05-20 18:59:31 369
原创 codeforces796E Exam Cheating
Zane and Zane's crush have just decided to date! However, the girl is having a problem with her Physics final exam, and needs your help.There are n questions, numbered from 1 to n. Question i co
2017-05-02 20:27:03 1230
原创 codeforces796D Police Stations
Inzane finally found Zane with a lot of money to spare, so they together decided to establish a country of their own.Ruling a country is not an easy job. Thieves and terrorists are always ready to
2017-05-02 20:24:14 426
原创 codeforces788C The Great Mixing
Sasha and Kolya decided to get drunk with Coke, again. This time they have k types of Coke. i-th type is characterised by its carbon dioxide concentration . Today, on the party in honour of Sergiy
2017-05-02 20:22:05 538
原创 codeforces788B Weird journey
Little boy Igor wants to become a traveller. At first, he decided to visit all the cities of his motherland — Uzhlyandia.It is widely known that Uzhlyandia has n cities connected with m bidirectio
2017-05-02 20:19:16 412
原创 codeforces788A Functions again
Something happened in Uzhlyandia again... There are riots on the streets... Famous Uzhlyandian superheroes Shean the Sheep and Stas the Giraffe were called in order to save the situation. Upon the arr
2017-05-02 20:15:15 347
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人