摘要: Description The citizens of Bytetown, AB, could not stand that the candidates in the mayoral election campaign have been placing their electoral poste 阅读全文
posted @ 2016-11-02 18:03 Gealo 阅读(127) 评论(0) 推荐(0) 编辑
摘要: Kostya is a genial sculptor, he has an idea: to carve a marble sculpture in the shape of a sphere. Kostya has a friend Zahar who works at a career. Za 阅读全文
posted @ 2016-11-01 12:54 Gealo 阅读(647) 评论(0) 推荐(0) 编辑
摘要: 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 i 阅读全文
posted @ 2016-11-01 02:50 Gealo 阅读(363) 评论(0) 推荐(0) 编辑
摘要: Description Railway tickets were difficult to buy around the Lunar New Year in China, so we must get up early and join a long queue… The Lunar New Yea 阅读全文
posted @ 2016-10-31 16:51 Gealo 阅读(236) 评论(0) 推荐(0) 编辑
摘要: Given a list of N numbers you will be allowed to choose any M of them. So you can choose in NCM ways. You will have to determine how many of these cho 阅读全文
posted @ 2016-10-31 14:57 Gealo 阅读(289) 评论(0) 推荐(0) 编辑
摘要: Problem Description At the entrance to the university, there is a huge rectangular billboard of size h*w (h is its height and w is its width). The boa 阅读全文
posted @ 2016-10-30 19:38 Gealo 阅读(226) 评论(0) 推荐(0) 编辑
摘要: Young theoretical computer scientist Fxx designed a game for his students. In each game, you will get three integers X,k,t.In each step, you can only 阅读全文
posted @ 2016-10-30 15:16 Gealo 阅读(299) 评论(0) 推荐(0) 编辑
摘要: Description A straight dirt road connects two fields on FJ's farm, but it changes elevation more than FJ would like. His cows do not mind climbing up 阅读全文
posted @ 2016-10-29 21:44 Gealo 阅读(189) 评论(0) 推荐(0) 编辑
摘要: You are given n segments on a line. There are no ends of some segments that coincide. For each segment find the number of segments it contains. You ar 阅读全文
posted @ 2016-10-28 21:58 Gealo 阅读(391) 评论(0) 推荐(0) 编辑
摘要: Jimmy writes down the decimal representations of all natural numbers between and including m and n, (m ≤ n). How many zeroes will he write down? Input 阅读全文
posted @ 2016-10-28 15:34 Gealo 阅读(241) 评论(0) 推荐(0) 编辑