码迷,mamicode.com
首页 >  
搜索关键字:show all    ( 41857个结果
(CF#257)A. Jzzhu and Children
There are n children in Jzzhu's school. Jzzhu is going to give some candies to them. Let's number all the children from 1 to n. The i-th child wants to get at least ai candies. Jzzhu asks childre...
分类:其他好文   时间:2014-07-22 22:49:13    阅读次数:237
http://acm.hnu.cn/online/?action=problem&type=show&id=12817&courseid=267 7.19hnu/数据结构/数学 xxs.code
1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 using namespace std; 8 typedef long long INT; 9 const INT MOD = 1000000007; 10 co....
分类:其他好文   时间:2014-07-22 22:48:35    阅读次数:247
九度 Online Judge 之《剑指 Offer》一书相关题目解答
前段时间准备华为机试,正好之前看了一遍《剑指 Offer》,就在九度 Online Judge 上刷了书中的题目,使用的语言为 C++;只有3题没做,其他的都做了。 正如 Linus Torvalds 所言“Talk is cheap, show me the code!",详见托管在 Git...
分类:其他好文   时间:2014-07-22 22:48:35    阅读次数:185
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
PL/SQL常用语句
2、显示当前连接用户? SQL>?show?user? 3、查看系统拥有哪些用户? SQL>?select?*?from?all_users;? 4、新建用户并授权? SQL>?create?user?a?identified?by?a;(默认建在SYSTEM表空间下)? SQL>...
分类:数据库   时间:2014-07-22 08:28:35    阅读次数:327
更改AlertDialog窗口大小的方法
AlertDialog dialog = new AlertDialog.Builder(this).create(); dialog.show(); WindowManager.LayoutParams params = dialog.getWindow().getAttributes(); params.width = 200; params.height = 200 ; dialog....
分类:其他好文   时间:2014-07-22 08:25:36    阅读次数:176
poj1936(All in All)
题目地址:All in All题目大意: 判断后一个字符串是否包含前一个字符串,顺序不能改变。解题思路: 以后一个字符串为循环,与要判断的字符串中的字符相等就cnt++。最后cnt==len(需要判断的字符串)是输出YES否则NO。代码: 1 #include 2 #include 3 #i...
分类:其他好文   时间:2014-07-21 10:34:09    阅读次数:265
poj 1936 -- All in All
All in AllTime Limit: 1000MSMemory Limit: 30000KTotal Submissions: 27556Accepted: 11286DescriptionYou have devised a new encryption technique which en...
分类:其他好文   时间:2014-07-21 10:28:39    阅读次数:138
ssh整合例子
今天给大家介绍一下最新版本的SSH(struts2.2.1+ hibernate3.6+spring3.0.5)组合。注意本讲解为手工搭建!? 一、为SSH做好准备? struts2-2.2.1-all.zip??????? hibernate-distribution-3.6.0.Final-dist....
分类:其他好文   时间:2014-07-21 10:15:04    阅读次数:368
Hive使用中遇到的几个小问题
#### 1. 在Hive中使用show tables;等命令报错:com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Specified key was too long; max key length is 767 bytes **解决办法:** 到mysql中的hive数据库里...
分类:其他好文   时间:2014-07-21 10:12:36    阅读次数:453
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!