码迷,mamicode.com
首页 >  
搜索关键字:square    ( 2122个结果
picasso-强大的Android图片下载缓存库
picasso是Square公司开源的一个Android图形缓存库,地址http://square.github.io/picasso/,可以实现图片下载和缓存功能。仅仅只需要一行代码就能完全实现图片的异步加载:1Picasso.with(context).load("http://i.imgur....
分类:移动开发   时间:2015-10-16 16:39:02    阅读次数:303
android内存泄露
LeakCanary:https://github.com/square/leakcanary(中文http://www.liaohuqiu.net/cn/posts/leak-canary-read-me/)。MAT:http://android-developers.blogspot.pt/2011/03/memory-analysis-for-android.html(中文http://androidperformance.com/2015/04/11/AndroidMemory-Usage..
分类:移动开发   时间:2015-10-12 15:50:46    阅读次数:169
UVA 1603 Square Destroyer
题意: 给定一个火柴棒拼成的方格阵,然后去掉一些火柴棒,问至少再去掉几根火柴棒能够让图中一个正方形都没有。思路:1. 由于题目中给定了 n 的范围,2 * n * (n + 1) 所以能够保证所有的火柴用 long long的位运算表示;2. 启发式函数 h 的计算需要考量:如果删除了某个方阵的.....
分类:其他好文   时间:2015-10-12 12:17:04    阅读次数:235
hihoCoder #1240 Image Encryption
DescriptionA fancy square image encryption algorithm works as follow:0. consider the image as an N x N matrix1. choose an integer k∈ {0, 1, 2, 3}2. ro...
分类:其他好文   时间:2015-10-11 21:30:12    阅读次数:266
常用的机器学习&数据挖掘知识点
Basis(基础):MSE(Mean Square Error 均方误差),LMS(LeastMean Square 最小均方),LSM(Least Square Methods 最小二乘法),MLE(MaximumLikelihood Estimation最大似然估计),QP(Quadratic ...
分类:其他好文   时间:2015-10-11 00:28:07    阅读次数:243
Python基本语法
list:start_list = [5, 3, 1, 2, 4]square_list = []for num in start_list: square_list.append(num*num) # append to tailsquare_list.sort() # alphabetic o....
分类:编程语言   时间:2015-10-10 12:29:38    阅读次数:130
Fire net
Fire NetTime Limit:2 Seconds Memory Limit:65536 KBSuppose that we have a square city with straight streets. A map of a city is a square board with n r...
分类:Web程序   时间:2015-10-07 14:38:24    阅读次数:208
LeetCode -- Maximal Square
LeetCode -- Maximal Square...
分类:其他好文   时间:2015-10-04 17:16:37    阅读次数:161
59. Spiral Matrix II (Graph)
Given an integer n, generate a square matrix filled with elements from 1 to n2 in spiral order. For example,Given n = 3,You should return the followin...
分类:其他好文   时间:2015-10-04 17:03:59    阅读次数:106
LeetCode 58 Spiral Matrix II
Given an integern, generate a square matrix filled with elements from 1 ton2in spiral order.For example,Givenn=3,You should return the following matri...
分类:其他好文   时间:2015-10-04 09:57:49    阅读次数:170
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!