描述One day,Tom’s girlfriend give him an array A which contains N integers and asked him:Can you choose some integers from the N integers and the sum of...
分类:
其他好文 时间:
2015-11-21 22:44:40
阅读次数:
280
描述There is a game which is called 24 Point game.In this game , you will be given some numbers. Your task is to find an expression which have all the g...
分类:
其他好文 时间:
2015-11-21 19:51:35
阅读次数:
191
描述今天是阴历七月初五,acm队员zb的生日。zb正在和C小加、never在武汉集训。他想给这两位兄弟买点什么庆祝生日,经过调查,zb发现C小加和never都很喜欢吃西瓜,而且一吃就是一堆的那种,zb立刻下定决心买了一堆西瓜。当他准备把西瓜送给C小加和never的时候,遇到了一个难题,never和C...
分类:
其他好文 时间:
2015-11-21 14:22:51
阅读次数:
170
地址:http://acm.nyist.net/JudgeOnline/problem.php?pid=214
分类:
其他好文 时间:
2015-11-10 21:06:19
阅读次数:
188
找球号(一)描述在某一国度里流行着一种游戏。游戏规则为:在一堆球中,每个球上都有一个整数编号i(0 2 #include 3 #include 4 using namespace std; 5 6 int main() 7 { 8 int m,n; 9 setS;10 sc...
分类:
其他好文 时间:
2015-10-30 20:25:23
阅读次数:
181
方案数量时间限制:1000ms | 内存限制:65535KB难度:2描写叙述给出一个N*M的棋盘。左下角坐标是(0。0)。右上角坐标是(N,M),规定每次仅仅能向上或者向右走。问从左下角走到右上角,一共同拥有多少种方案。上图是一个4*3的棋盘。输入多组測试数据。每组输入两个整数N,M(0≤N,M≤3...
分类:
其他好文 时间:
2015-10-26 12:08:38
阅读次数:
187
Distribution描述One day , Wang and Dong in the Dubai desert expedition, discovered an ancient castle. Fortunately, they found a map of the castle.The ma...
分类:
其他好文 时间:
2015-10-17 23:35:51
阅读次数:
219
Binary String Matching时间限制:3000ms | 内存限制:65535KB难度:3描写叙述Given two strings A and B, whose alphabet consist only ‘0’ and ‘1’. Your task is only to tell ...
分类:
编程语言 时间:
2015-10-17 21:54:10
阅读次数:
246
九的余数时间限制:3000ms | 内存限制:65535KB难度:3描写叙述如今给你一个自然数n,它的位数小于等于一百万,如今你要做的就是求出这个数整除九之后的余数。输入第一行有一个整数m(1#includechar str[1000010];int main(){ int l,m,s,i; cha...
分类:
其他好文 时间:
2015-10-17 10:45:12
阅读次数:
195
修路方案时间限制:3000ms | 内存限制:65535KB难度:5描写叙述南将军率领着很多部队,它们分别驻扎在N个不同的城市里,这些城市分别编号1~N。因为交通不太便利,南将军准备修路。如今已经知道哪些城市之间能够修路。假设修路,花费是多少。如今。军师小工已经找到了一种修路的方案,可以使各个城市都...
分类:
其他好文 时间:
2015-10-04 11:01:16
阅读次数:
263