Problem Description There is a strange lift.The lift can stop can at every floor as you want, and there is a number Ki(0 using namespace std; struct n ...
分类:
其他好文 时间:
2018-11-04 12:40:32
阅读次数:
125
Problem Description Farmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a point N (0 ≤ N ...
分类:
其他好文 时间:
2018-11-04 11:18:09
阅读次数:
127
Problem Description There is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a black til ...
分类:
其他好文 时间:
2018-11-04 01:45:56
阅读次数:
190
题意:给定一个n*m的方阵,第i行第j列的高度为a[i][j],问除了下底面之外其余五面的总表面积 n<=50,0<=a[i][j]<=1000 思路:队友写的,抱大腿 考虑当前方格比周围四格高多少即可 ...
分类:
其他好文 时间:
2018-10-30 21:14:14
阅读次数:
149
Problem Description Given a sequence a[1],a[2],a[3]......a[n], your job is to calculate the max sum of a sub sequence. For example, given (6, 1,5,4, 7 ...
分类:
其他好文 时间:
2018-10-27 22:09:34
阅读次数:
189
Problem Description 搬寝室是很累的,xhd深有体会.时间追述2006年7月9号,那天xhd迫于无奈要从27号楼搬到3号楼,因为10号要封楼了.看着寝室里的n件物品,xhd开始发呆,因为n是一个小于2000的整数,实在是太多了,于是xhd决定随便搬2 k件过去就行了.但还是会很累, ...
分类:
其他好文 时间:
2018-10-25 22:10:36
阅读次数:
193
1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #include 10 #include 11 using namespace std; 12 int n,m,inbu... ...
分类:
编程语言 时间:
2018-10-23 00:12:55
阅读次数:
171
#include #include #include #include #include #include #include #include #include #include using namespace std; int n,m,inbug[110],sum; vectore[150]; v... ...
分类:
编程语言 时间:
2018-10-23 00:11:27
阅读次数:
139
#include #include #include #include #include #include #include #include using namespace std; int n,m,inbug[10100],d[10100],sum; vectore[10100]; void t... ...
分类:
编程语言 时间:
2018-10-22 22:46:45
阅读次数:
176