上一页 1 2 3 4 5 6 7 8 9 ··· 40 下一页
摘要: DescriptionLet us begin with a positive integer N and find the smallest positive integer which doesn't divide N. If we repeat the proc... 阅读全文
posted @ 2016-03-23 13:30 Herumw 阅读(141) 评论(0) 推荐(0) 编辑
摘要: DescriptionThe distance between two integers is defined as the sum of the absolute result of subtracting their digits. For example, th... 阅读全文
posted @ 2016-03-22 20:54 Herumw 阅读(132) 评论(0) 推荐(0) 编辑
摘要: DescriptionMirko has a chessboard with N rows and just three columns. Slavica has written an integer on each field. Mirko has K domino... 阅读全文
posted @ 2016-03-22 15:19 Herumw 阅读(195) 评论(0) 推荐(0) 编辑
摘要: DescriptionMirko is hungry as a bear, scratch that, programmer and has stumbled upon a local restaurant. The restaurant offers N meals... 阅读全文
posted @ 2016-03-21 16:37 Herumw 阅读(113) 评论(0) 推荐(0) 编辑
摘要: In this problem you have to simulate the workflow of one-thread server. There are n queries to process, the i-th will be received at m... 阅读全文
posted @ 2016-03-21 15:35 Herumw 阅读(220) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionFor a decimal number x with n digits (AnAn-1An-2 ... A2A1), we define its weight as F(x) = An * 2n-1 + An-1 * 2n-2 ... 阅读全文
posted @ 2016-03-20 11:18 Herumw 阅读(274) 评论(0) 推荐(0) 编辑
摘要: Problem Description#define xhxj (Xin Hang senior sister(学姐)) If you do not know xhxj, then carefully reading the entire description is... 阅读全文
posted @ 2016-03-19 21:39 Herumw 阅读(139) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionIn order to remember history, King plans to play losephus problem in the parade gap.He calls n(1≤n≤5000) soldiers, ... 阅读全文
posted @ 2016-03-17 13:45 Herumw 阅读(179) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionA list of n integers are given. For an integer x you can do the following operations:+ let the binary representatio... 阅读全文
posted @ 2016-03-16 19:45 Herumw 阅读(119) 评论(0) 推荐(0) 编辑
摘要: Little Petya is now fond of data compression algorithms. He has already studied gz, bz, zip algorithms and many others. Inspired by th... 阅读全文
posted @ 2016-03-16 18:26 Herumw 阅读(136) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 40 下一页