码迷,mamicode.com
首页 >  
搜索关键字:unexpected eof bcp    ( 8055个结果
RHEL-6.5_x86-64安装Oracle-11.0.2.4系统设置
1、系统kernel参数设置 cat >> /etc/sysctl.conf << "EOF" ##### for Oracle_11gR2 ##### fs.aio-max-nr = 1048576 fs.file-max = 6815744 # kernel.shmall=2097152 # kernel.shmmax=4195057664 kernel....
分类:数据库   时间:2014-07-25 00:10:44    阅读次数:541
SQL Server数据库 bcp导出备份文件应用
/** * 授权 */ EXEC sp_configure 'show advanced options',1; go reconfigure; go exec sp_configure 'xp_cmdshell',1; go reconfigure; go /**导入指定表的文本文件*/ EXEC master..xp_cmdshell 'bcp dbname..tablename in...
分类:数据库   时间:2014-07-24 23:32:13    阅读次数:374
hdu 2037 今年暑假不AC
http://acm.hdu.edu.cn/showproblem.php?pid=2037贪心的题,按结束时间来贪心,结束时间尽可能提前,看得节目就尽可能多了。注意审题,题目说不止一组数据就得写好循环while(scanf("%d",&n)!=EOF)等价于while(~scanf("%d",&n...
分类:其他好文   时间:2014-07-24 22:14:02    阅读次数:216
HDU 1097 A hard puzzle
#include int main() { int a,b; while(scanf("%d%d",&a,&b)!=EOF) { int i,last; a=a%10; b=b%4; last=a;//必须在此处将a的值赋给last if(b==0) b=4; for(i=1;i<b;i++) { last=a*last%10; } printf...
分类:其他好文   时间:2014-07-23 13:23:26    阅读次数:282
状态问题吗?水题错四次了…………
#includemain(){int n,i,sum;int x[10];while(scanf("%d %d %d %d %d %d",&x[1],&x[2],&x[3],&x[4],&x[5],&x[6])!=EOF){if(x[1]==0&&x[2]==0&&x[3]==0&&x[4]==0&...
分类:其他好文   时间:2014-07-22 22:46:14    阅读次数:210
zoj1970||poj 1936 All in All
注意细节,一直把Yes,写成YES,找错误找了老半天都找不出来。。。。 代码如下:#include #include int main() { char s[100005],t[100005]; int m,i,j,n; while(scanf("%s%s",s,t)!=EOF) { m=strlen(t); n=strlen(s); i=0; f...
分类:其他好文   时间:2014-07-22 17:59:41    阅读次数:201
POJ 2607 Fire Station
枚举+最短路问题。 题意依然晦涩难懂。 新建一个消防站n 可以使得所有交叉路口到最近的一个消防站的距离中最大值减小,且n 是满足条件的交叉路口序号中序号最小的。 先每个消防站做SPFA。找到所有点 到最近消防站的 距离。 然后枚举 每个不是消防站的点,找到距离这个点的最大距离。然后比对 最大是否更新了。 ORZ的是,输入边的时候要EOF。简直…… 谁是出...
分类:其他好文   时间:2014-07-21 13:21:36    阅读次数:205
整合SSH遇到的错误
错误一: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [spring.xml]; nested exception is java.lang.NoClassDefFou...
分类:其他好文   时间:2014-07-21 10:17:14    阅读次数:212
0 1背包模板
# include # include # include # define max(x,y) x>y?x:y; int v[1001];//价值 int w[1001];//重量 int dp[1001][1001]; int main() { int n,m; while(scanf("%d%d",&m,&n)!=EOF) { memset(dp,...
分类:其他好文   时间:2014-07-19 23:38:19    阅读次数:309
C++ Primer(第五版) 笔记 C01-02
C01++val;优于 val++;对数量不定的输入数据:while(cin>>value)...遇到无效的输入或eof后,cin变为无效状态,条件变为假。来自标准库的头文件用包围,不属于标准库的用""包围。文件重定向工作:exename.exe outfile点运算符:左侧运算对象是类类型的,右侧...
分类:编程语言   时间:2014-07-19 08:31:13    阅读次数:277
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!