#-*- coding: cp936 -*- #首行加这个
代码里就可以加注释raw_input("Press Enter Exit") #最后一行加这个,可以直接点击脚本运行脚本l[a:b] = [c]
#即用右边的[c]完全替换a到b-1个元素http://www.cnblogs.com/zhe...
分类:
编程语言 时间:
2014-07-22 23:14:54
阅读次数:
369
Several ports (8005, 8080, 8009) required by Tomcat
v7.0 Server at localhost are already in use. The server may already be running
in another process,...
分类:
其他好文 时间:
2014-07-22 23:13:56
阅读次数:
299
JS诞生其中一个目的就是将, 服务器端的校验在客户端提前完成, 以避免用户提交数据后,
后台校验报错的糟糕用户体验。基于JQuery库的有很多优秀的插件, 其中对于浏览器端表单进行验证的基本功能也有插件对应, validate插件便是一个。官网地址
: http://jqueryvalidation...
分类:
Web程序 时间:
2014-07-22 23:13:35
阅读次数:
532
Reverse Words in a
String题目链接:http://oj.leetcode.com/problems/reverse-words-in-a-string/ Given an
input string, reverse the string word by word. F...
分类:
其他好文 时间:
2014-07-22 23:13:32
阅读次数:
309
Chapter3: The C in C++ (2)Bitwise
operators(1)The bitwise exclusive or, or xor (^) produces a one in the output
bit if one or the other input bit is a...
分类:
编程语言 时间:
2014-07-22 23:11:16
阅读次数:
618
如果input标签中有runat=”server”,则在服务端,Request.Form接收不到
分类:
其他好文 时间:
2014-05-01 15:58:22
阅读次数:
277
关于propagation属性的7个传播行为REQUIRED:指定当前方法必需在事务环境中运行,如果当前有事务环境就加入当前正在执行的事务环境,如果当前没有事务,就新建一个事务。这是默认值。即有事务就在事务中执行,没有就新建一个事务SUPPORTS:指定当前方法加入当前事务环境,如果当前没有事务,就...
分类:
其他好文 时间:
2014-05-01 15:53:53
阅读次数:
310
var isValid = $("#divId").Form("validate"); if(
isValid ){ alert("验证通过"); } else{ alert("验证失败"); }
分类:
其他好文 时间:
2014-05-01 15:09:20
阅读次数:
337
#includemain(){ int a[2][3],b[3][2]; int
i,j; //input a for(i=0;i<2;i++) { for(j=0;j<3;j++) {
scanf("%d",&a[i][j]); } } // zhuanzhi b for(j=0...
分类:
其他好文 时间:
2014-04-30 16:04:17
阅读次数:
261
Problem Description
大师兄在取得真经后,每天详读经书,认真完成读书笔记,理论联系实际,不断提高实践能力。假设大师兄开始修炼的第一天是星期一,至今已经修炼了N天,那么有多少天是星期六或者星期日,大师兄还在修炼呢?
Input
每组输入数据包含一个整数N(0<N<100,000)。
Output
对每组输入数据,输出一行,仅包含一个整数...
分类:
其他好文 时间:
2014-04-27 21:45:00
阅读次数:
387