码迷,mamicode.com
首页 >  
搜索关键字:square    ( 2122个结果
android开源项目:图片下载缓存库picasso
picasso是Square公司开源的一个Android图形缓存库,地址http://square.github.io/picasso/,可以实现图片下载和缓存功能。 picasso有如下特性: 在adapter中回收和取消当前的下载;使用最少的内存完成复杂的图形转换操作;自动的内存和硬盘缓存;图形转换操作,如变换大小,旋转等,提供了接口来让用户可以自定义转换操作;加载载网络或本地资源...
分类:移动开发   时间:2014-12-02 19:19:53    阅读次数:227
An Easy Problem
描述     In this problem, you are given two integers L and R, and your task is to calculate the sum of all the number's square between L and R(inclusive). 输入The first line contains an integer ...
分类:其他好文   时间:2014-12-02 11:55:51    阅读次数:181
继承与多态
一、实验目的:掌握继承、多态的概念与实现方法;掌握包和接口的定义和使用方法;了解JAVA语言实现多继承的途径;二、实验内容:1.定义抽象类Shape,抽象方法为showArea(),求出面积并显示,定义矩形类Rectangle,正方形类Square,圆类 Circle,根据各自的属性,用showAr...
分类:其他好文   时间:2014-12-01 22:22:38    阅读次数:189
URAL 1698. Square Country 5(记忆化搜索)
题目链接题意 : 自守数的定义:如果某个数的平方的末尾几位数等于这个数,那么就称这个数为自守数。例如5*5=25,则5就是自守数。让你求不超过n位的自守数有多少思路 : 实际上,自守数还有两个性质:以他为后几位的两个数相乘,乘积的后几位仍是这个自守数。刚好n位的自守数一定是两个,当然1位的时候0和1...
分类:其他好文   时间:2014-12-01 14:18:16    阅读次数:180
C primer ++ 学习笔记第8篇——C++函数
//C++函数 //内联函数  //内联函数的作用: 程序无需跳到另一个位置处执行代码,再跳回来 //内联函数的运行速度比常规函数稍快,但代价是需要占用更多内存 //声明内联函数的措施:在函数声明 和 定义前加上关键字inline   inline double  square(double x);//申明内联函数  inline double  square(double x){...
分类:编程语言   时间:2014-11-30 07:09:24    阅读次数:227
OpenCV Tutorials —— Camera calibration with square chessboard
获取摄像机内部参数矩阵和摄像机畸变参数Test data: use images in your data/chess folder.1,Compile opencv with samples by setting BUILD_EXAMPLES to ON in cmake configuratio...
分类:其他好文   时间:2014-11-26 11:14:06    阅读次数:288
HDU-1398-Square Coins
题目链接http://acm.hdu.edu.cn/showproblem.php?pid=1398背包的硬币问题代码#include#includeint main(void){ int i,j,k,n; int dp[310]; int a[20]; for(i=1;i<...
分类:其他好文   时间:2014-11-25 23:29:42    阅读次数:222
USACO6.4-The Primes
The PrimesIOI'94In the square below, each row, each column and the two diagonals canbe read as a five digit prime number. The rows are read from lef.....
分类:其他好文   时间:2014-11-25 23:18:19    阅读次数:199
poj 1979 Red and Black(dfs)
Red and Black Time Limit: 1000MS   Memory Limit: 30000K Total Submissions: 23191   Accepted: 12510 Description There is a rectangular room, covered with square tiles. Eac...
分类:其他好文   时间:2014-11-25 16:30:39    阅读次数:107
Sqrt(x)
Implementint sqrt(int x).Compute and return the square root ofx.这里给出两种实现方法:一是二分搜索,二是牛顿迭代法。1. 二分搜索对于一个非负数n,它的平方根不会小于大于(n/2+1)。在[0, n/2+1]这个范围内可以进行二分搜索,...
分类:其他好文   时间:2014-11-24 16:48:43    阅读次数:229
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!