码迷,mamicode.com
首页 >  
搜索关键字:square    ( 2122个结果
POJ1017
Packets Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 46658   Accepted: 15782 Description A factory produces products packed in square packets of the same ...
分类:其他好文   时间:2015-05-26 16:08:29    阅读次数:121
SQL SERVER常用函数
只做常用部分简单介绍,详细内容见T-SQL联机丛书。1,统计函数 avg, count, max, min, sum多数聚会不统计值为null的行。可以与distinct一起使用去掉重复的行。可以与group by 来分组2, 数学函数SQRT(n)返回一个数的平方根Square(n)返回一个数的平...
分类:数据库   时间:2015-05-26 14:16:42    阅读次数:160
POJ 1979 Red and Black
Time Limit: 1000MSMemory Limit: 30000KTotal Submissions: 25081Accepted: 13539DescriptionThere is a rectangular room, covered with square tiles. Each t...
分类:其他好文   时间:2015-05-26 09:02:26    阅读次数:149
Think different
Here’s to the crazy ones.The misfits. The rebels. The troublemakers.The round pegs in the square holes.The ones who see things differently.They’re not...
分类:其他好文   时间:2015-05-25 23:51:33    阅读次数:123
LeetCode的medium题集合(C++实现)十二
1 Sqrt(x) Implement int sqrt(int x).Compute and return the square root of x. 因为这里都是整数,可以直接采用二分法求解int mySqrt(int x) { if (x <= 1) return x; int begin = 1, end =x, mid = 0; while (begin...
分类:编程语言   时间:2015-05-24 13:00:28    阅读次数:173
POJ-1681
Painter's ProblemTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 4839Accepted: 2350DescriptionThere is a square wall which is made of n*n sma...
分类:其他好文   时间:2015-05-22 10:57:52    阅读次数:110
HDU 1398 Square Coins 平方硬币 (普通母函数,水)
题意:有17种硬币,每种的面值为编号的平方,比如 1,4,9,16....。给出一个数字,求组成这个面值有多少种组法?思路:用普通母函数解,主要做的就是模拟乘法,因为硬币是无限的,所以每个构造式中每一个项的系数都是1。我们只需要第n项的系数,大于n的并不需要,所以大于n的项就不用再做计算了。 1 #...
分类:其他好文   时间:2015-05-21 12:34:13    阅读次数:161
SQL函数
(一)数学函数1.abs(x);2.POWER(expression,power_raise_to);3.SQRT(expression_to_square_root); //平方根4.rand(); //生成随机数,但是不保证生成的是唯一值5.ceiling(); //向上舍入到临近的最大整数.....
分类:数据库   时间:2015-05-20 18:02:30    阅读次数:220
Android之Picasso
简介: Picasso是Square公司开源的一个Android图形缓存库。可以实现图片下载和缓存功能。 特点: 1.加载载网络或本地图片并自动缓存处理; 2.链式调用; 3.图形转换操作,如变换大小,旋转等,提供了接口来让用户可以自定义转换操作; 4.在Adapter中回收和取消当前的下载功能; 与Universal-ImageLoader库对比: 1.都有高...
分类:移动开发   时间:2015-05-20 13:15:32    阅读次数:197
nyoj 1099 Lan Xiang's Square (水题)
题目1099 题目信息 运行结果 本题排行 讨论区 Lan Xiang's Square 时间限制:1000 ms  |  内存限制:65535 KB 难度:0 描述        Excavator technology which is strong, fast to Shandong to find Lan Xiang.  ...
分类:其他好文   时间:2015-05-20 09:53:34    阅读次数:198
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!