随笔分类 - 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...
阅读全文
摘要:Valuable ResourcesMany computer strategy games require building cities, recruiting army, conquering tribes, collecting resources. Sometimes it leads t...
阅读全文
摘要:FactoryOne industrial factory is reforming working plan. The director suggested to set a mythical detail production norm. If at the beginning of the d...
阅读全文
摘要:Restoring IPv6DescriptionAn IPv6-address is a 128-bit number. For convenience, this number is recorded in blocks of 16 bits in hexadecimal record, the...
阅读全文
摘要: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 ...
阅读全文
摘要: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...
阅读全文

浙公网安备 33010602011771号