码迷,mamicode.com
首页 >  
搜索关键字:lan xiangs square    ( 23031个结果
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
iphone使用mac上的SOCKS代理
Step 1.Make sure the SOCKS tunnel on your work computer allows LAN connections so your iPhone/iPod Touch can connect to it.ssh -N -g -D 1080 user@doma...
分类:系统相关   时间:2015-05-19 18:16:14    阅读次数:270
codeforces 432E Square Tiling 贪心
题目大意:给定一个n?mn*m的矩阵,要求用正方形砖块覆盖,使得任意两块同颜色的正方形砖块不相邻且字典序最小枚举每一块砖,如果这个位置为空,就填入字典序最小的砖块,然后将边长一格格拓展 如果当前右侧位置可以填入字典序更小的砖块,就不拓展 否则判断能否拓展并拓展#include #include #include #include <al...
分类:其他好文   时间:2015-05-19 13:10:01    阅读次数:120
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!