select msi.segment1 物料编码, msi.DESCRIPTION 物料描述,
PER.LAST_NAME 采购员, MSI.FULL_LEAD_TIME 提前期, MSI.FIXED_ORDER_QUANTITY 固定订单数量,
MSI.MINIMUM_ORDER_QUA...
分类:
数据库 时间:
2014-06-12 14:34:50
阅读次数:
299
SELECT
sum(rcvt.quantity)接收事务处理汇总数--已排除退货--rsh.receipt_num 收据号, --pov.vendor_name
供应商名称, --poh.segment1 采购订单, --pol.line_num 订单行, --PTL.LINE_TYPE 行类.....
分类:
数据库 时间:
2014-06-10 20:22:36
阅读次数:
334
题目来源:Light 1289 LCM from 1 to n
题意:。。
思路:从1到n 打过某个数是以一个素数的几次方 那么答案就乘以这个素数
主要是筛选素数 存不下 位优化 一个整数32位标记32个数 内存缩小32倍
是学习别人的
#include
#include
#include
#include
using namespace std;
const int maxn ...
分类:
其他好文 时间:
2014-06-10 18:05:45
阅读次数:
250
题目
Given two binary strings, return their sum (also a binary string).
For example,
a = "11"
b = "1"
Return "100".
方法
从后往前,每个字符进行判断。
public String addBinary(String a, String...
分类:
其他好文 时间:
2014-06-10 17:50:48
阅读次数:
241
水题#include #include #include using namespace
std;int main(){ int n,m; cin >> n >> m; int cnt = 0, sum = 0;
for(int i = 0 ; i > a; i...
分类:
其他好文 时间:
2014-06-10 16:38:18
阅读次数:
226
1 #include 2 int main() 3 { 4 int T,n; 5 int
a,sum=0; 6 while(scanf("%d",&T)!=EOF){ 7 while(scanf("%d",&n)!=EOF){ 8
...
分类:
其他好文 时间:
2014-06-10 11:56:12
阅读次数:
223
1 #include 2 int main() 3 { 4 int n,sum=0; 5
while(scanf("%d",&n)){ 6 if(n==0) {return 0;} 7 else{ 8 int i,a; 9 ...
分类:
其他好文 时间:
2014-06-10 11:52:19
阅读次数:
312
1 #include 2 int main() 3 { 4 int i,n,a,sum=0;
5 while(scanf("%d",&n)!=EOF){ 6 for(i=0;i<n;i++){ 7 scanf("%d",&a); 8
...
分类:
其他好文 时间:
2014-06-10 11:30:59
阅读次数:
200
1 #include 2 int main() 3 { 4 int T,n; 5 int
a,sum=0; 6 while(scanf("%d",&T)!=EOF){ 7 while(scanf("%d",&n)!=EOF){ 8
...
分类:
其他好文 时间:
2014-06-10 11:22:38
阅读次数:
201
Binary Tree Maximum Path SumGiven a binary
tree, find the maximum path sum.The path may start and end at any node in the
tree.For example:Given the be...
分类:
其他好文 时间:
2014-06-10 10:42:58
阅读次数:
203