摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
Description 某一天,qwb去WCfun面试,面试官问了他一个问题:把一个正整数n拆分成若干个正整数的和,请求出这些数乘积的最大值。 qwb比较猥琐,借故上厕所偷偷上网求助,聪明的你能帮助他吗? Input 第一行为一个正整数T.(T include include define mod 阅读全文
摘要:
description qwb同时也是是之江学院的志愿者,暑期要前往周边地区支教,为了提高小学生的数学水平。她把小学生排成一排,从左至右从1开始依次往上报数。 玩完一轮后,他发现这个游戏太简单了。于是他选了3个不同的数x,y,z;从1依次往上开始报数,遇到x的倍数、y的倍数或z的倍数就跳过。如果x= 阅读全文