码迷,mamicode.com
首页 >  
搜索关键字:poj2965the pilots br    ( 4124个结果
php操作mysql小结
<?php//连接数据库//设置文档显示编码header(‘Content-type:text/html;charset=utf-8‘);if($con=mysql_connect(‘localhost‘,‘root‘,‘1234‘)){//返回连接标识符 echo‘连接成功<br>‘;}else{ echo‘连接失败<br>‘;}//选择数据库if(mysql_select_db(‘mydbtest‘)){ ec..
分类:数据库   时间:2014-07-29 15:46:29    阅读次数:234
php目录操作函数详解
<?phpheader(‘content-type:text/html;charset=utf-8;‘);#目录操作函数详解//1.getcwd(oid):若成功返回当前目录,否则返回falseecho‘<hr>1.getcwd():<br>‘;echogetcwd();//2.chdir():函数把当前的目录改变为指定的目录//chroot():函数把当前进程的根目录改为指..
分类:Web程序   时间:2014-07-28 16:50:34    阅读次数:322
The Pilots Brothers' refrigerator
Description The game “The Pilots Brothers: following the stripy elephant” has a quest where a player needs to open a refrigerator. There are 16 handles on the refrigerator door. Every handle c...
分类:其他好文   时间:2014-07-27 11:36:04    阅读次数:234
jquery checbox 全选,反选
<body> <input type="checkbox" id="ckAll" />check all<br /> <input type="checkbox" name="sub" />1<br /> <input type="checkbox" name="sub"/>2<br /> <input type="checkbox" name="sub"/>3<br /> <input t...
分类:Web程序   时间:2014-07-22 09:13:34    阅读次数:325
习题,99乘法表。FOR循环
<?php?/*99乘法表,规律:有两个变量, 其中一个总是小于等于另一个。<br?/>‘;*/ for?($i=1;?$i?<?10?;?$i++)?{ ??for?($j=1;?$j?<=?$i?;?$j++)?{? ????echo?$i?,?‘x‘?,?$j?,?‘=‘...
分类:其他好文   时间:2014-07-22 08:34:35    阅读次数:179
java 文件指针复位
1 BufferedReader br = new BufferedReader(new InputStreamReader( 2 new FileInputStream("userremain.log"))); 3 String msg = null; 4 ...
分类:编程语言   时间:2014-07-19 21:24:55    阅读次数:175
POJ 2965 The Pilots Brothers' refrigerator 搜索+枚举
Description The game “The Pilots Brothers: following the stripy elephant” has a quest where a player needs to open a refrigerator. There are 16 handles on the refrigerator door. Every handle can b...
分类:其他好文   时间:2014-07-18 12:21:12    阅读次数:253
POJ 1965 The Pilots Brothers' refrigerator 搜索
The Pilots Brothers' refrigerator Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 18222   Accepted: 6936   Special Judge Description The game “The Pilots...
分类:其他好文   时间:2014-07-17 19:25:39    阅读次数:207
html5笔记
html5:语义化的结构标签,"非革命性的发展"html5的Doctype声明:<!doctypehtml><!doctypehtmlsystem"about:legacy-compat">html5指定文件中的字符编码<metacharset="utf-8">html5可以省略标记的元素:1>不允许写结束标记的元素有:area,base,br,col,command,e..
分类:Web程序   时间:2014-07-17 16:09:53    阅读次数:367
ASP学习----基本用法和表单
ASP写法:写法1:<%="HelloWorld!"%>写法2:<%Response.Write("HelloWorld!")%>ASP声明变量:使用dim如下:<html><body><%dimnamename="xiaohong"Response.write("yournameis:"+name&"<br/>")%></body></html>ASP声明数组..
分类:Web程序   时间:2014-07-15 11:31:32    阅读次数:406
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!