码迷,mamicode.com
首页 >  
搜索关键字:switch case    ( 15339个结果)
Kth order statistcs
Selection:selection is a trivial problem if the input numbers are sorted. If we use a sorting algorithm having O(nlgn) worst case running time, then t...
分类:其他好文   时间:2014-08-19 04:50:43    阅读次数:200
jade模板引擎简明用法
①、特性首个单词为标签,有一些不能识别的标签可作为code,如each for case if else if unlesszen coding风格添加标签,如.nb#hello 生成 缩进必须统一使用tab或space,否则会报错通过缩进来表示嵌套关系,这个很重要!如p a 生成 ②、codi.....
分类:其他好文   时间:2014-08-18 20:26:02    阅读次数:310
MySql 按周/月/日统计数据的方法
知识关键词:DATE_FORMATselect DATE_FORMAT(create_time,'%Y%u') weeks,count(caseid) count from tc_case group by weeks; select DATE_FORMAT(create_time,'%Y%m%d'...
分类:数据库   时间:2014-08-18 20:06:22    阅读次数:242
poj 3468(简单线段树区间更新)
A Simple Problem with Integers Time Limit: 5000MS   Memory Limit: 131072K Total Submissions: 61936   Accepted: 18934 Case Time Limit: 2000MS Description You have N i...
分类:其他好文   时间:2014-08-18 14:34:42    阅读次数:270
poj 3264(模板RMQ)
Balanced Lineup Time Limit: 5000MS   Memory Limit: 65536K Total Submissions: 34488   Accepted: 16203 Case Time Limit: 2000MS Description For the daily milking, Farme...
分类:其他好文   时间:2014-08-18 10:51:03    阅读次数:259
设置Linux下Mysql表名不区分大小写
1、Linux下mysql安装完后是默认:区分表名的大小写,不区分列名的大小写; 2、用root帐号登录后,在/etc/my.cnf中的[mysqld]后添加添加lower_case_table_names=1,重启MYSQL服务,这时已设置成功:不区分表名的大小写; lower_case_ta...
分类:数据库   时间:2014-08-18 10:37:04    阅读次数:185
一周实验
实验报告实验名称交换机的配置模式并修改主机名和查看配置信息实验目标熟悉交换机的配置并修改主机名和查看配置信息实验拓扑一台交换机实验步骤步骤1点击交换机—命令行——输入Switch>用户模式Switch>enableSwitch#特权模式Switch#configureterminalSwitch(config)#全局..
分类:其他好文   时间:2014-08-18 01:41:53    阅读次数:213
Javascript基础知识5
不要把相等运算符(==)与赋值运算符(=)搞混。以&&运算符隔开的两个条件中的前者为错,则不会检测第二个条件的真假。利用这一点,可以提高脚本的速度。使用带switch的多个条件if(button=="next") window.location = "next.html"; else if(b...
分类:编程语言   时间:2014-08-17 22:41:13    阅读次数:180
MySQL中CASE的使用
MySQL中CASE的使用...
分类:数据库   时间:2014-08-17 11:49:12    阅读次数:191
LeetCode——Length of Last Word
Given a stringsconsists of upper/lower-case alphabets and empty space characters' ', return the length of last word in the string.If the last word doe...
分类:其他好文   时间:2014-08-16 13:42:40    阅读次数:200
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!