码迷,mamicode.com
首页 >  
搜索关键字:if case for    ( 10657个结果
HDOJ_ACM 2054 使用java
Problem DescriptionGive you two numbers A and B, if A is equal to B, you should print "YES", or print "NO".Inputeach test case contains two numbers A ...
分类:编程语言   时间:2014-11-27 20:29:03    阅读次数:224
python中各种结构的复杂度
listThe Average Case assumes parameters generated uniformly at random.Internally, a list is represented as an array; the largest costs come from growi...
分类:编程语言   时间:2014-11-27 18:13:57    阅读次数:263
mysql utf8_bin跟utf8_general_ci的区别
ci是 case insensitive, 即 "大小写不敏感", a 和A 会在字符判断中会被当做一样的;bin 是二进制, a 和 A 会别区别对待.例如你运行:SELECT * FROM table WHERE txt = 'a'那么在utf8_bin中你就找不到 txt = 'A' 的那一行...
分类:数据库   时间:2014-11-27 12:38:08    阅读次数:186
MYSQL区分大小写
MYSQL区分大小写1、linux下mysql安装完后是默认:区分表名的大小写,不区分列名的大小写;2、用root帐号登录后,在/etc/my.cnf 中的[mysqld]后添加添加lower_case_table_names=1,重启MYSQL服务,这时已设置成功:不区分表名的大小写;lower_...
分类:数据库   时间:2014-11-27 12:29:20    阅读次数:151
Leetcode-Anagrams
Given an array of strings, return all groups of strings that are anagrams.Note: All inputs will be in lower-case.NOTE: the return is the list of all a...
分类:其他好文   时间:2014-11-27 06:47:27    阅读次数:170
[LeetCode] Climbing Sairs
You are climbing a stair case. It takesnsteps to reach to the top.Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb...
分类:其他好文   时间:2014-11-26 14:01:07    阅读次数:165
第四章 控制结构
控制结构包括选择语句、循环语句、跳转代码1 选择语句1.1 ifif(逻辑表达式){}else{}if(逻辑表达式){}else if(逻辑表达式){}...else{}1.2 switch switch(表达式) { case 常量表达式 ...; ...
分类:其他好文   时间:2014-11-26 01:15:42    阅读次数:122
Anagrams
Given an array of strings, return all groups of strings that are anagrams.Note: All inputs will be in lower-case.参考:http://www.cnblogs.com/AnnieKim/ar...
分类:其他好文   时间:2014-11-26 01:08:54    阅读次数:190
[leetcode] 18. Length of Last Word
这个题目很简单,给一个字符串,然后返回最后一个单词的长度就行。题目如下: Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last...
分类:其他好文   时间:2014-11-26 01:07:58    阅读次数:218
docker port 2376
I have had this issue as well. I believe it‘s because of a recent update to either boot2docker or Virtualbox. In any case, the solution is to just to temporarily route until it is fixed upstream. F...
分类:其他好文   时间:2014-11-25 23:59:51    阅读次数:497
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!