码迷,mamicode.com
首页 >  
搜索关键字:while read line for ifs    ( 74720个结果
给不小心惹上的家伙们做个记录...
Java \Python \ RPC \mongoDB \memcached \hornetQ \Jetty \Maven \Redis \H2 \Clustor \spring \vertx
分类:其他好文   时间:2014-07-18 23:30:03    阅读次数:214
ccnp第一天实验 rip v1 和 rip v2
1. 给R1配置环回和s1/1接口ip地址R1(config)#int lo0R1(config-if)#ip add 1.1.1.1 255.255.255.0R1(config-if)#int s1/1 R1(config-if)#ip add 12.1.1.1 255.255.255.0R1(...
分类:其他好文   时间:2014-07-18 23:21:15    阅读次数:426
poj2928:素数回文数的个数
总时间限制: 1000ms 内存限制: 65536kB描述判断11到任何一个小于1000大于11的整数之间,既是素数又是回文数的整数的个数。输入输入大于11小于1000的整数。输出11到输入的这个数之间的既是素数又是回文数的个数。样例输入999543样例输出1610提示测试数据有多组,用while(...
分类:其他好文   时间:2014-07-18 21:26:23    阅读次数:430
MySQL循环语句实例教程 mysql while循环测试
在mysql数据库中操作同样有循环语句操作,标准的循环方式: while 循环 、 loop 循环和repeat循环。还有一种非标准的循环: goto。 鉴于goto 语句的跳跃性会造成使用的的思维混乱,所以不建议使用。这几个循环语句的格式如下:WHILE……DO……END WHILEREPEAT…...
分类:数据库   时间:2014-07-18 21:20:19    阅读次数:194
C#匿名类型 - Anonymous Types
【C#匿名类型 - Anonymous Types】 Anonymous types provide a convenient way to encapsulate a set of read-only properties into a single object without having ....
分类:其他好文   时间:2014-07-18 21:08:09    阅读次数:224
The idcode read from the device does not match the idcode in the bsdl File.
xilinx ise下载出现以下问题PROGRESS_START - Starting Operation.INFO:iMPACT:583 - '1': The idcode read from the device does not match the idcode in the bsdl Fil...
分类:其他好文   时间:2014-07-17 13:01:31    阅读次数:955
mysql 远程连接可以,本地连接报错
使用python的MySQLdb库连接本地的mysql数据库,报错如下: File "/usr/lib/python2.7/dist-packages/MySQLdb/__init__.py", line 81, in Connect     return Connection(*args, **kwargs)   File "/usr/lib/python2.7/dist-pack...
分类:数据库   时间:2014-07-17 10:15:49    阅读次数:255
BZOJ 2761 不重复数字 (Hash)
题解:直接使用STL中的hash去重即可#include #include using namespace std;int ans[50010];int main(){ int T,n,tmp; scanf("%d",&T); while(T--){ int cnt=...
分类:其他好文   时间:2014-07-17 10:02:58    阅读次数:231
BZOJ 2463 谁能赢呢? (博弈论)
题解:简单博弈论#include int main(){ int n; while(scanf("%d",&n),n!=0) if (n&1) puts("Bob"); else puts("Alice"); return 0;}
分类:其他好文   时间:2014-07-17 10:01:29    阅读次数:259
BZOJ 1192 鬼谷子的钱袋 (二进制思想)
题解:鉴于二进制的思想来划分#include int main(){ int n,d=0;scanf("%d",&n); while(1<<d<=n)d++; printf("%d\n",d);}
分类:其他好文   时间:2014-07-17 09:58:59    阅读次数:197
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!