码迷,mamicode.com
首页 >  
搜索关键字:unexpected eof bcp    ( 8055个结果
ZOJ Monthly, October 2010 ABEFI
ZOJ 3406 Another Very Easy Task #include #include const int N = 100005; char s[N]; int main() { bool f = 0; int size = 0; char ch; while(scanf("%c", &ch)!=EOF) { if( !(ch >= 'a' && c...
分类:其他好文   时间:2014-07-08 13:52:14    阅读次数:265
西电Online Judge 1007
Description 一天,wm和zyf想比比谁比较正气,但正气这种东西无法量化难以比较,为此,他们想出了一个方法,两人各写一个数字,然后转化为二进制,谁的数字中二进制1多谁就比较正气!Input 输入包含多组数据,EOF结束。 每组数据包含两行,代表两个非负整数a,b(0#include ...
分类:其他好文   时间:2014-07-07 11:07:47    阅读次数:222
水仙花数
/*Input输入数据有多组,每组占一行,包括两个整数m和n(100#includeint main(){int m,n,k,ge,shi,bai;int flag=0;while(scanf("%d%d",&m,&n)!=EOF){ flag=0; if(m>n || m999) ...
分类:其他好文   时间:2014-07-06 13:41:48    阅读次数:196
NYOJ 275 队花的烦恼一
队花的烦恼一 时间限制:3000 ms  |  内存限制:65535 KB 难度:1 描述 ACM队的队花C小+经常抱怨:“C语言中的格式输出中有十六、十、八进制输出,然而却没有二进制输出,哎,真遗憾!谁能帮我写一个程序实现输入一个十进制数n,输出它的二进制数呀?” 难道你不想帮帮她吗?^_^ 输入输入有多个数据,数据以EOF结束;每个数据ni(0 ...
分类:其他好文   时间:2014-07-06 12:40:17    阅读次数:300
在用TabbarController中出现navigationController 嵌套报错
如果出现: nested push animation can result in corrupted navigation bar  Finishing up a navigation transition in an unexpected state. Navigation Bar subview tree might get corrupted. 一般这种情况是在自定义的t...
分类:其他好文   时间:2014-07-04 00:36:55    阅读次数:223
一个正整数N,不用sqrt求开方数
#include int main() { int n; // 正整数n int i; // for循环 int myR = 1; // 保证myR^2 <= n < (myR+1)^2 double temp; // 临时变量 while(scanf("%d", &n) != EOF) { if (n <= 0) continue; // 寻找myR for (i=1;...
分类:其他好文   时间:2014-07-03 18:29:48    阅读次数:158
BCP和Bulk into 命令使用(待整理更新)
BCP和Bulk into 命令使用(待整理更新)BCP和Bulk into 命令使用(待整理更新)bcp命令是SQL2005 一个实用的数据导出导入工具,我们可以运用这个命令方便的到处导入数据首先我们欣赏一下bcp命令的 格式:BCP是SQL Server中负责导入导出数据的一个命令行工具,它是基...
分类:其他好文   时间:2014-07-01 23:34:19    阅读次数:382
C标准输入输出重定向
C中的标准输入输出可以进行重定向到文件。示例程序:(C Primer Plus示例8.2)// echo_eof.c -- 重复输入,直到文件的结尾#include int main(void){ int ch; while ( (ch = getchar()) != EOF) ...
分类:其他好文   时间:2014-07-01 22:43:32    阅读次数:273
POJ - 1731 Orders
题意:排序后字符串全排列 思路:好久没水一题了 #include #include #include #include using namespace std; const int MAXN = 220; char str[MAXN]; int main() { while (scanf("%s", str) != EOF) { int n = strlen(str); ...
分类:其他好文   时间:2014-07-01 15:09:17    阅读次数:182
XML 导入导出示例
/*EXEC master..xp_cmdshell 'BCP "select * from NBZA_Live_20140613.dbo.StoreList for xml Raw " queryout D:\XML\my_StoreList_20140630001.xml -c -U"sa" -...
分类:其他好文   时间:2014-07-01 12:23:38    阅读次数:313
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!