摘要:
Description There is a robot, its task is to bury treasures in order on a N × M grids map, and each treasure can be represented by its weight, which i
阅读全文
posted @ 2017-06-04 17:59
渡……
阅读(208)
推荐(0)
编辑
摘要:
Description There are n lotus leaves floating like a ring on the lake, which are numbered 0, 1, ..., n 1 respectively. The leaf 0 and n 1 are adjacent
阅读全文
posted @ 2017-06-04 17:46
渡……
阅读(246)
推荐(0)
编辑
摘要:
Description Given a m × n chessboard, a stone is put on the top left corner (1, 1). Kevin and Bob take turns moving the stone. One can only move the s
阅读全文
posted @ 2017-06-04 17:40
渡……
阅读(392)
推荐(0)
编辑
摘要:
Description Given a string S, which consists of lowercase characters, you need to find the longest palindromic sub string. A sub string of a string S
阅读全文
posted @ 2017-06-04 17:32
渡……
阅读(165)
推荐(0)
编辑
摘要:
Description Given n numbers, your task is to insert '+' or ' ' in front of each number to construct expressions. Note that the position of numbers can
阅读全文
posted @ 2017-06-04 17:27
渡……
阅读(231)
推荐(0)
编辑
摘要:
Description Handoku is sailing on a lake at the North Pole. The lake can be considered as a two dimensional square plane containing N × N blocks, whic
阅读全文
posted @ 2017-06-04 17:20
渡……
阅读(300)
推荐(0)
编辑
摘要:
Description Corn does not participate the STEED contest, but he is interested in the word "STEED". So, Corn writes all permutations of the word "STEED
阅读全文
posted @ 2017-06-04 16:57
渡……
阅读(226)
推荐(0)
编辑
摘要:
Description 某一天,qwb去WCfun面试,面试官问了他一个问题:把一个正整数n拆分成若干个正整数的和,请求出这些数乘积的最大值。 qwb比较猥琐,借故上厕所偷偷上网求助,聪明的你能帮助他吗? Input 第一行为一个正整数T.(T include include define mod
阅读全文
posted @ 2017-06-04 16:47
渡……
阅读(182)
推荐(0)
编辑