题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4662MU
PuzzleTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K
(Java/Others)Total Submi...
分类:
其他好文 时间:
2014-06-06 23:12:39
阅读次数:
250
MOQ:(Minimum order Quantity)最低订货数量MOQ
即最小订购量(最小订单量)对每个产品设定建议订单量是补货的方法之一。另外要注意订单的有效性,这是由供应商制定的规则。比如说最小订单量、包装数量和方式等等。采购者的建议订单量是在这个基础上制定的。如果订单量比较少不能满足最小订...
分类:
其他好文 时间:
2014-06-06 20:44:03
阅读次数:
303
原题地址:https://oj.leetcode.com/problems/triangle/题意:Given
a triangle, find the minimum path sum from top to bottom. Each step you may move
to adjacent n...
分类:
编程语言 时间:
2014-06-06 17:31:34
阅读次数:
397
这道题本来想对了,可是因为hdu对pascal语言的限制是我认为自己想错了,结果一看题解发现自己对了……题意:给以字符串计算出以前i个字符为前缀的字符中在主串中出现的次数和如:num(abab)=num(a)+num(ab)+num(aba)+num(abab)=2+2+1+1=6;题解:next[...
分类:
其他好文 时间:
2014-06-06 17:30:22
阅读次数:
227
题意:给定围成一个圈的硬币n枚,然后每次可以取出连续的1-k枚,谁取完最后一枚谁就获胜。分析:对于第二个人当第一个人取完后,他可以取成对称的形式,所以第二个人必胜。代码:#include#include#includeint
main(){ int i,n,k,T; scanf("%d"...
分类:
其他好文 时间:
2014-06-06 15:59:02
阅读次数:
236
裸的线段树求区间的最大值。 1 #include 2 #include 3 using
namespace std; 4 5 #define MAXN 262144 6 7 int _v[MAXN > 1;23 build(lso),
build(rso);24 ...
分类:
其他好文 时间:
2014-06-06 15:44:06
阅读次数:
222
Problem DescriptionGiven a circle sequence
A[1],A[2],A[3]......A[n]. Circle sequence means the left neighbour of A[1] is
A[n] , and the right neighbou...
分类:
其他好文 时间:
2014-06-06 14:52:21
阅读次数:
247
简单的排序,注意输出即可#include #include using namespace
std;int main(){ int a[10001]; int n,i; //int t = 0; while(cin>>n) {
//if(t)cout>a[...
分类:
其他好文 时间:
2014-06-06 13:53:51
阅读次数:
209
Quoit DesignTime Limit: 10000/5000 MS
(Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s):
29344Accepted Submission(s): 7688Prob...
分类:
其他好文 时间:
2014-06-06 13:28:58
阅读次数:
236
Surround the TreesTime Limit: 2000/1000 MS
(Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s):
7043Accepted Submission(s): 2688...
分类:
其他好文 时间:
2014-06-03 16:27:36
阅读次数:
339