Description
A friend of you has just bought a new computer. Until now, the most powerful computer he ever used has been a pocket calculator. Now, looking at his new computer, he is a bit disappointed...
分类:
其他好文 时间:
2014-07-29 15:07:09
阅读次数:
335
Master Yoda is the oldest member of the Jedi Council. He conducts preparatory classes of little Younglings up to the moment they get a mentor. All Younglings adore master Yoda and they hope to grow...
分类:
其他好文 时间:
2014-07-29 14:59:48
阅读次数:
266
Problem Description
ACboy has N courses this term, and he plans to spend at most M days on study.Of course,the profit he will gain from different course depending on the days he spend on it.How to ar...
分类:
其他好文 时间:
2014-07-29 14:57:28
阅读次数:
292
Problem Description
After months of hard working, Iserlohn finally wins awesome amount of scholarship. As a great zealot of sneakers, he decides to spend all his money on them in a sneaker store.
...
分类:
其他好文 时间:
2014-07-29 14:42:05
阅读次数:
273
1.必须向CST_COMP_SNAP_INTERFACE表中插入此工单所有工序的数据(也就是说同样的工单插入多条,只是工序号不一样)
标准文档:
Note: If there are multiple operation sequences then,
Insert multiple records in CST_COMP_SNAP_INTERFACE, one record for e...
分类:
其他好文 时间:
2014-07-29 14:22:58
阅读次数:
283
??
Description
Keeping track of all the cows can be a tricky task so Farmer John has installed a system to automate it. He has installed on each cow an electronic ID tag that the system will read ...
分类:
其他好文 时间:
2014-07-29 13:22:46
阅读次数:
212
POJ 2355 Find a multiple(组合数学-抽屉原理)
题目大意:
有n个数,找出一个方案满足:从中选出任意多的数字使得它们的和对n求余为0
解题思路:
用sum[i]记录前 i 项的和。
(1)如果存在某个sum[i]%n==0 ,那么就已经找到了,就是前i项。
(2)如果不存在,则sum[i]%n的取值范围为1~n-1 那么n项sum必然有 sum[i]%n==sum[j]%n,这时候(sum[j]-sum[i])%n=0,也就是 第i+1项到第j项的和对n求余为0,也满足条件了。...
分类:
其他好文 时间:
2014-07-29 12:50:17
阅读次数:
238
Calvin is driving his favorite vehicle on the 101 freeway. He notices that the check engine light of his vehicle is on, and he wants to service it imm...
分类:
其他好文 时间:
2014-07-29 12:37:16
阅读次数:
250
题目如下:This cheeseburger you don't needDescriptionYoda: May the Force be with you.Master Yoda is the oldest member of the Jedi Council. He conducts prep...
分类:
其他好文 时间:
2014-07-29 12:20:26
阅读次数:
279
鸽笼原理题,以后得好好研究下相关题目。 1 /* 2 ID:esxgx1 3 LANG:C++ 4 PROG:poj2356 5 */ 6 #include 7 #include 8 #include 9 #include 10 using namespace std;11 12 #defin...
分类:
其他好文 时间:
2014-07-29 12:17:26
阅读次数:
214