加油 ( •̀ ω •́ )y!
摘要: Problem Description The harmonic value of the permutation p1,p2,⋯pn is Mr. Frog is wondering about the permutation whose harmonic value is the strictl 阅读全文
posted @ 2018-09-09 20:23 皮皮虎 阅读(171) 评论(0) 推荐(0) 编辑
摘要: Problem Description Mr. Frog recently studied how to add two fractions up, and he came up with an evil idea to trouble you by asking you to calculate 阅读全文
posted @ 2018-09-09 18:48 皮皮虎 阅读(199) 评论(0) 推荐(0) 编辑
摘要: Can you answer these queries? Problem Description A lot of battleships of evil are arranged in a line before the battle. Our commander decides to use 阅读全文
posted @ 2018-09-06 17:17 皮皮虎 阅读(129) 评论(0) 推荐(0) 编辑
摘要: Just a Hook In the game of DotA, Pudge’s meat hook is actually the most horrible thing for most of the heroes. The hook is made up of several consecut 阅读全文
posted @ 2018-09-04 19:08 皮皮虎 阅读(144) 评论(0) 推荐(0) 编辑
摘要: DNA Sequence Description It's well known that DNA Sequence is a sequence only contains A, C, T and G, and it's very useful to analyze a segment of DNA 阅读全文
posted @ 2018-08-29 14:33 皮皮虎 阅读(194) 评论(0) 推荐(0) 编辑
摘要: Keywords Search Problem Description In the modern time, Search engine came into the life of everybody like Google, Baidu, etc.Wiskey also wants to bri 阅读全文
posted @ 2018-08-27 21:30 皮皮虎 阅读(181) 评论(0) 推荐(0) 编辑
摘要: Period Problem Description For each prefix of a given string S with N characters (each character has an ASCII code between 97 and 126, inclusive), we 阅读全文
posted @ 2018-08-24 17:23 皮皮虎 阅读(133) 评论(0) 推荐(0) 编辑
摘要: Cyclic Nacklace Problem Description CC always becomes very depressed at the end of this month, he has checked his credit card yesterday, without any s 阅读全文
posted @ 2018-08-24 16:09 皮皮虎 阅读(190) 评论(0) 推荐(0) 编辑
摘要: Number Sequence Problem Description Given two sequences of numbers : a[1], a[2], ...... , a[N], and b[1], b[2], ...... , b[M] (1 <= M <= 10000, 1 <= N 阅读全文
posted @ 2018-08-23 22:15 皮皮虎 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 免费馅饼 Problem Description 都说天上不会掉馅饼,但有一天gameboy正走在回家的小径上,忽然天上掉下大把大把的馅饼。说来gameboy的人品实在是太好了,这馅饼别处都不掉,就掉落在他身旁的10米范围内。馅饼如果掉在了地上当然就不能吃了,所以gameboy马上卸下身上的背包去接 阅读全文
posted @ 2018-08-23 15:31 皮皮虎 阅读(132) 评论(0) 推荐(0) 编辑