码迷,mamicode.com
首页 >  
搜索关键字:temp    ( 7776个结果
SSIS Error:Package Validation Error. SSIS Error Code DTS_E_OLEDBERROR. .Error code: 0x80040E37. An OLE DB record is available. Hresult: 0x80040E37
当我参考如下链接,尝试在SSIS包中动态创建全局临时表##Temp,用Lookup组件作为数据源,给全局临时表变量赋值时,会发生如下图的验证错误。http://sqlage.blogspot.com/2014/04/ssis-how-to-create-use-temp-table-in.html因...
分类:数据库   时间:2015-06-01 18:25:56    阅读次数:265
LeetCode 7: Reverse Integer
刚开始并未考虑越界的问题,以及当个位数是0时会造成程序的错误,经过仔细审视,AC代码:int reverse(int x){ int res = 0; int temp = abs(x); int flag = 0; if (x=0 && yu>=0) { ...
分类:其他好文   时间:2015-06-01 18:20:02    阅读次数:103
C语言-对输入的n个字符串进行排序
#include #include #include #define N 256 //宏定义 int main() { char strArray[N][256]; char *str[N]; char *temp; int i,n; printf("请输入字符串:\n"); for(i=0;i<N;i++) { gets(strArray[i]); if (st...
分类:编程语言   时间:2015-06-01 11:36:04    阅读次数:312
杭电ACM1398——Square Coins~~母函数
这一题,简单的母函数的应用,好久没有写过母函数了,有点生疏了。 题目的硬币有17种,分别是1到17的平方的硬币。 下面的是AC的代码: #include #include #include using namespace std; int dp[305], temp[305]; int main() { int i, j, k, l; for(i = 0; i < 305; i...
分类:其他好文   时间:2015-05-31 23:22:36    阅读次数:196
hdu 5254(暴力)
题解:暴力所有点,直到不存在可以0变1的点。#include #include const int N = 505; int n, m, k, g[N][N], temp[N][N], vis[N][N];bool judge(int x, int y) { if (x - 1 >= 0 && y - 1 >= 0) { if (te...
分类:其他好文   时间:2015-05-31 23:20:17    阅读次数:156
【C++总结】函数模板
声明函数模板模板只是用于生成函数的定义,只有当函数调用的时候编译器会生成对应的具体函数//T是类型,也可以为为98版本 template void Swap(T &a, T &b) { T temp; temp = a; a = b; b = temp; }重载函数模板template void S...
分类:编程语言   时间:2015-05-31 16:53:40    阅读次数:176
选择排序优化算法
优化一:          #include          #define N 10             int main(){              int a[N],max,k,temp,j;         for(int i=0;i   {        scanf("%d",&a[i]);    }      for(i=0;i    {   max=i...
分类:编程语言   时间:2015-05-31 15:30:31    阅读次数:143
C#的冒泡排序(控制台)
int [] nums={9,8,7,6,5,4,3,2,1,0};for(int i=0;i=nums.Length-1;i++){for(int j=0; jnums[j+1]){int temp=nums[j];nums[j]=nums[j+1];nums[j+1]=temp;}}}for(i...
分类:编程语言   时间:2015-05-30 23:55:19    阅读次数:192
希尔排序
希尔排序// 希尔排序.cpp : 定义控制台应用程序的入口点。 //#include "stdafx.h" #include #include void main() { int data[11] = {0,75,23,98,44,57,12,29,64,38,82}; int i, j, k, incr, temp; printf(...
分类:编程语言   时间:2015-05-30 22:41:56    阅读次数:213
归并排序
1.非递归版本#include #include using namespace std;void MergePass(int *arr,int *temp,int len,int step);void merge(int *temp,int *arr,int low,int mid,int hig...
分类:编程语言   时间:2015-05-30 21:07:17    阅读次数:144
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!