码迷,mamicode.com
首页 >  
搜索关键字:summer holiday    ( 654个结果
HUAS Summer Trainning #3 M
Description我们知道,在编程中,我们时常需要考虑到时间复杂度,特别是对于循环的部分。例如, 如果代码中出现 for(i=1;i 2 using namespace std; 3 const int maxn=2000+20; 4 int p[maxn][maxn]; 5 void set(...
分类:其他好文   时间:2015-08-02 19:58:02    阅读次数:116
HUAS Summer Trainning #3 K
Description在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一列,请编程求解对于给定形状和大小的棋盘,摆放k个棋子的所有可行的摆放方案C。Input输入含有多组测试数据。 每组数据的第一行是两个正整数,n k,用一个...
分类:其他好文   时间:2015-08-02 19:52:36    阅读次数:76
HUAS Summer Trainning #3 L
DescriptionThe GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one large rectangular...
分类:其他好文   时间:2015-08-02 19:47:46    阅读次数:102
HUAS Summer Trainning #3 N
Description给你一个高为n ,宽为m列的网格,计算出这个网格中有多少个矩形,下图为高为2,宽为4的网格. Input第一行输入一个t, 表示有t组数据,然后每行输入n,m,分别表示网格的高和宽 ( n 2 using namespace std; 3 int main() 4 { 5 .....
分类:其他好文   时间:2015-08-02 19:47:17    阅读次数:129
HUAS Summer Trainning #3 C
DescriptionA ring is composed of n (even number) circles as shown in diagram. Put natural numbersinto each circle separately, and the sum of numbers i...
分类:其他好文   时间:2015-08-01 17:02:18    阅读次数:101
HUAS Summer Trainning #3 B
题目:Given a sequence of integers S = {S1, S2, . . . , Sn}, you should determine what is the value of themaximum positive product involving consecutive ...
分类:其他好文   时间:2015-08-01 15:39:01    阅读次数:124
HUAS Summer Trainning #3 A
题目:DescriptionWrite a program that finds and displays all pairs of 5-digit numbers that between them use the digits0through9once each, such that the f...
分类:其他好文   时间:2015-08-01 15:31:42    阅读次数:161
HUAS Summer Trainning #3~E
DescriptionToday on a lecture about strings Gerald learned a new definition of string equivalency. Two stringsaandbof equal length are calledequivalen...
分类:其他好文   时间:2015-07-31 23:10:00    阅读次数:385
HUAS Summer Trainning #3~L
DescriptionThe GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one large rectangular...
分类:其他好文   时间:2015-07-31 21:45:50    阅读次数:144
HUAS Summer Trainning #3~M
Description我们知道,在编程中,我们时常需要考虑到时间复杂度,特别是对于循环的部分。例如,如果代码中出现for(i=1;iint c[2001][2001];void init(){int n, m;c[0][0] = 1;for(n = 1; n <= 2000; n++){ c[n][...
分类:其他好文   时间:2015-07-31 21:43:25    阅读次数:182
654条   上一页 1 ... 44 45 46 47 48 ... 66 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!