DescriptionBackgroundProfessor Hopper is researching the sexual behavior of a rare species of bugs. He assumes that they feature two different genders...
分类:
其他好文 时间:
2014-11-05 16:53:41
阅读次数:
137
田忌赛马
时间限制:3000 ms | 内存限制:65535 KB
难度:3
描述Here is a famous story in Chinese history.
"That was about 2300 years ago. General Tian Ji was a high official in the country Qi. He likes to...
分类:
其他好文 时间:
2014-11-05 14:57:11
阅读次数:
143
这一节有一些新鲜的内容:1、多个选项的checkbox,同类的所有的checkbox的name值都是一样的,所以用单个的值很难区分他们,所以这里输入的值就是数组了。之前还一直奇怪为什么在对输入的值的处理的时候还要考虑数组的情况,现在知道了。那这一节我们要做什么呢?1、要给checkbox的name添...
分类:
其他好文 时间:
2014-11-04 19:01:46
阅读次数:
214
这一节的内容跟上一节的内容很像,甚至比上一节的内容更简单,因为只有一个checkbox。跟上一节相同的地方是,如果你不选择,那么$_POST里面就不会有这个checkbox的任何信息,连key都没有,所以我们要手动创建。即:(terms是checkbox的name值) if(!isset($_...
分类:
其他好文 时间:
2014-11-04 16:30:45
阅读次数:
207
这一节的主要内容:1、创建一个radio input(这是HTML的内容,但是之前掌握的不熟练);2、把它加入到原来的值的体系当中,即:判断有没有选择gender,如果没有选择就设定:$_POST['gender'] = '';这个时候mail_process.php中的以下代码将中把'gender...
分类:
其他好文 时间:
2014-11-04 15:00:05
阅读次数:
152
Conscription
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 8071
Accepted: 2810
Description
Windy has a country, and he wants to build an army to protec...
分类:
其他好文 时间:
2014-11-04 13:15:52
阅读次数:
159
一定存在连续的k个数,使得他们的和能被n整除。设a[i]为前缀和a[1]%n ,a[2]%n,...,a[n]%n的值的范围#include#include#include#include#includeusing namespace std;typedef long long LL;int m.....
分类:
其他好文 时间:
2014-11-04 09:10:18
阅读次数:
141
转自:http://www.biostatistic.net/home.php?mod=space&uid=12734&do=blog&id=1952大赞博主!解决了困扰了好几天的问题java中不带package的程序和带package的程序编译的方式是不同的。一、不带package的程序建立个He...
分类:
编程语言 时间:
2014-11-04 01:28:00
阅读次数:
259
田忌赛马
时间限制:3000 ms | 内存限制:65535 KB
难度:3
描述Here is a famous story in Chinese history.
"That was about 2300 years ago. General Tian Ji was a high official in the country Qi. He likes to...
分类:
其他好文 时间:
2014-11-03 19:28:49
阅读次数:
133
Scout YYF I
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 5153
Accepted: 1404
Description
YYF is a couragous scout. Now he is on a dangerous mission whic...
分类:
其他好文 时间:
2014-11-03 17:54:27
阅读次数:
170