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
xsd概述
XML Schemas Definition, XML模式定义。本质仍是xml文档。
它定义了XML文档的结构,可以用一个指定的xsd来验证某个XML文档是否符合其要求。XML Schema本身有很多数据种类。最常见的种类有: * xs:string xs:字符 * xs:decimal xs: 小数 * xs:integer xs:整数 * x...
分类:
其他好文 时间:
2014-07-29 12:59:27
阅读次数:
191
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
鸽笼原理题,以后得好好研究下相关题目。 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
Mergeksorted linked lists and return it as one sorted list. Analyze and describe its complexity.题意:对k个有序的链表进行归并排序。并分析其复杂度。/** * Definition for singly-...
分类:
其他好文 时间:
2014-07-29 11:02:16
阅读次数:
205
Sort a linked list using insertion sort.题目要求:链表的插入排序,由于没有时间复杂度的要求,可以直接循环操作。/** * Definition for singly-linked list. * struct ListNode { * int val;...
分类:
其他好文 时间:
2014-07-29 10:54:26
阅读次数:
190
解法:比较简单,用plus表示进位 1 /** 2 * Definition for singly-linked list. 3 * struct ListNode { 4 * int val; 5 * ListNode *next; 6 * ListNode(in...
分类:
其他好文 时间:
2014-07-29 10:53:06
阅读次数:
273
The present invention allocates resources in a multi-operating system computing system, thereby avoiding bottlenecks and other degradations that resul...
分类:
其他好文 时间:
2014-07-28 11:25:00
阅读次数:
302
http://poj.org/problem?id=1106Time Limit:1000MSMemory Limit:10000KTotal Submissions:4488Accepted:2379DescriptionIn a wireless network with multiple tr...
分类:
其他好文 时间:
2014-07-27 22:54:59
阅读次数:
273
/** * Definition for binary tree * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(...
分类:
其他好文 时间:
2014-07-27 22:03:49
阅读次数:
214