码迷,mamicode.com
首页 >  
搜索关键字:any    ( 7409个结果
202. Happy Number
Write an algorithm to determine if a number is "happy". A happy number is a number defined by the following process: Starting with any positive intege ...
分类:移动开发   时间:2017-03-12 11:00:15    阅读次数:165
unity学习笔记2
[转]自http://blog.csdn.net/tianyao9hen/article/details/53141141 对于新手学习unity碰撞讲的还是比较清楚的 OnTriggerEnter和OnCollisionEnter的触发条件是不同的,需要在设计的过程中加以关注。 触发的共同要求 碰 ...
分类:编程语言   时间:2017-03-12 01:16:48    阅读次数:212
给oracle用户查询其它用户表的权限
1、创建用户user1createuseruser1identifiedbyxxxxdefaulttablespaceXXXX_tabletemporarytablespacetempprofiledefaultgrantconnecttouser1;2、方式一:批量表赋权SELECT‘grantselectonPPOSUAT_17.‘||table_name||‘totestuser_17;‘fromdba_tableswhereowner=‘PPOSUAT_17‘;方式..
分类:数据库   时间:2017-03-11 22:15:47    阅读次数:235
poj3041 Asteroids(二分图最小顶点覆盖、二分图匹配)
Description Bessie wants to navigate her spaceship through a dangerous asteroid field in the shape of an N x N grid (1 <= N <= 500). The grid contains ...
分类:其他好文   时间:2017-03-11 18:54:13    阅读次数:230
es6-Promise
参考:阮一峰老师的 ES6 教程 Promise 篇 写一段传统的异步操作 还是拿之前讲 jquery deferred对象时的那段setTimeout程序 用Promise进行封装 将之前的异步操作那几行程序,用new Promise((resolve,reject) => {.....})包装起 ...
分类:其他好文   时间:2017-03-10 14:52:31    阅读次数:249
Python-内置函数4
name="one"''' bin() oct() hex() bytes() ascii() any() all() abs() bool() str() dict() list() callable() 判断能不能被调用,多数用于函数 char() 将ascii码对应的数转为字符 ord() 将 ...
分类:编程语言   时间:2017-03-09 20:37:18    阅读次数:220
Hibernate的一对多查询及去掉重复的对象distinct
问:sql 中 select * from A left join B on A.id=B.id where A.id=? 如果在Hibernate 中 用HQL 怎么表达呢 ?答:from A left join A.b b where A.id=?其中b是在实体类A的hibernate配置文件中 ...
分类:Web程序   时间:2017-03-09 15:27:36    阅读次数:210
zoj 2001 Adding Reversed Numbers
The Antique Comedians of Malidinesia prefer comedies to tragedies. Unfortunately, most of the ancient plays are tragedies. Therefore the dramatic advi ...
分类:其他好文   时间:2017-03-08 22:45:08    阅读次数:212
php购物车(练习)
题目要求如下: 实现一个简单的购物网站; 需要实现的页面: Index:浏览商品页面,显示商品列表,用户可以点击“购买“。 ViewCart:查看购物车页面,显示已购买的商品信息,可以点击“删除“已买的商品 ViewAccount:查看个人账户余额 Login:登录页面 实现功能: 显示商品列表 实 ...
分类:Web程序   时间:2017-03-08 13:25:47    阅读次数:387
java集合框架collection(2)ArrayList和LinkedList
ArrayList是基于动态数组实现的list,而LinkedList是基于链表实现的list。所以,ArrayList拥有着数组的特性,LinkedList拥有着链表的特性。 优缺点 ArrayList 优点:因为Array是基于索引(index)的数据结构,适合随机读取数据,读取速度快,可以一步 ...
分类:编程语言   时间:2017-03-08 13:18:22    阅读次数:186
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!