随笔分类 -  CodeForces

摘要:BitsLet's denote as the number of bits set ('1' bits) in the binary representation of the non-negative integer x.You are given multiple queries consis... 阅读全文
posted @ 2014-11-06 13:04 Enumz 阅读(298) 评论(0) 推荐(0)
摘要:Valuable ResourcesMany computer strategy games require building cities, recruiting army, conquering tribes, collecting resources. Sometimes it leads t... 阅读全文
posted @ 2014-11-06 12:47 Enumz 阅读(327) 评论(0) 推荐(0)
摘要:FactoryOne industrial factory is reforming working plan. The director suggested to set a mythical detail production norm. If at the beginning of the d... 阅读全文
posted @ 2014-11-06 12:36 Enumz 阅读(391) 评论(0) 推荐(0)
摘要:Restoring IPv6DescriptionAn IPv6-address is a 128-bit number. For convenience, this number is recorded in blocks of 16 bits in hexadecimal record, the... 阅读全文
posted @ 2014-07-27 18:10 Enumz 阅读(469) 评论(0) 推荐(0)
摘要:Pocket BookDescriptionOne day little Vasya found mom's pocket book. The book had n names of her friends and unusually enough, each name was exactly m ... 阅读全文
posted @ 2014-07-27 18:03 Enumz 阅读(425) 评论(0) 推荐(1)
摘要:Double HappinessOn the math lesson a teacher asked each pupil to come up with his own lucky numbers. As a fan of number theory Peter chose prime numbe... 阅读全文
posted @ 2014-07-17 19:09 Enumz 阅读(396) 评论(0) 推荐(0)