1 declare @table table( 2 company_id int ,--公司编号 3 quarter_num char(2),--季度 4 disti varchar(50),--分销商 5 num int --数量 6 ) 7 8 insert @table 9 values(.....
分类:
其他好文 时间:
2015-03-15 21:19:23
阅读次数:
156
http://acm.timus.ru/problem.aspx?space=1&num=1040题目要求在一个联通无向图中找出一种方法给边标号使得任意一个有多条边的点,边的号码的最大公约数都为1想象在dfs树上,以1为根进入,将第一条边标为序号1,则节点1满足条件剩下的边遵照dfs顺序表明,那么非...
分类:
其他好文 时间:
2015-03-15 07:01:29
阅读次数:
177
DescriptionYou are working for Macrohard company in data structures department. After failing your previous task about key insertion you were asked to...
分类:
编程语言 时间:
2015-03-14 21:43:18
阅读次数:
1724
The “BerCorp” company has got n employees. These employees can use m approved official languages for the formal correspondence. The languages are numbered with integers from 1 to m. For each employee w...
分类:
其他好文 时间:
2015-03-13 23:51:13
阅读次数:
447
POJ 1416 dfs递归枚举+记录路径Shredding CompanyTime Limit:1000MSMemory Limit:10000KTotal Submissions:4456Accepted:2555DescriptionYou have just been put in char...
分类:
其他好文 时间:
2015-03-13 20:41:07
阅读次数:
236
背包问题学习链接:http://blog.csdn.net/kangroger/article/details/38864689代码:#include #include int invest[301][21];int total_invest;int company_num;int max[301]...
分类:
其他好文 时间:
2015-03-13 20:16:45
阅读次数:
177
Optiver sponsored problem.
After years of hard work Optiver has developed a mathematical model that allows them to predict wether or not a company will be succesful. This obviously gives them a grea...
分类:
其他好文 时间:
2015-03-13 12:44:34
阅读次数:
205
http://poj.org/problem?id=1083
Description
The famous ACM (Advanced Computer Maker) Company has rented a floor of a building whose shape is in the following figure.
The floor has 200 rooms...
分类:
其他好文 时间:
2015-03-12 22:37:28
阅读次数:
167
题意: AP x yA recruit with ability rate x were asked to join company y. (0<=x<2^31, 0<=y<n)MG x yCompany x and company y is merged. The new company is n...
分类:
其他好文 时间:
2015-03-12 16:43:57
阅读次数:
110
Few weeks ago, a famous software company has upgraded its instant messaging software. A ranking system was released for user groups. Each member of a group has a level placed near his nickname. The le...
分类:
其他好文 时间:
2015-03-11 17:14:04
阅读次数:
196