码迷,mamicode.com
首页 >  
搜索关键字:square    ( 2122个结果
[LintCode] Maximal Square
Given a 2D binary matrix filled with 0's and 1's, find the largest square containing all 1's and return its area. For example, given the following mat ...
分类:其他好文   时间:2017-08-19 11:14:36    阅读次数:150
hdu6125 Free from square 分组背包+状态压缩
/** 题目:hdu6125 Free from square 链接:http://acm.hdu.edu.cn/showproblem.php?pid=6125 题意: 从不大于n的所有正整数中选出至少1个且至多k个使得乘积不包含平方因子,对10^9+7取模。 1≤n,k≤500。 思路: 分组背... ...
分类:其他好文   时间:2017-08-18 14:27:34    阅读次数:324
Memory Leak检測神器--LeakCanary初探
在之前的文章Android内存泄露的几种情形中提到过在开发中常见的内存泄露问题,可是过于草率。因为刚开年,工作还没正式展开,就看了一下Github开源大户Square的LeakCanary,并用公司项目的測试环境来练手。试图找出项目中存在的内存泄露。与上一篇不同,这一篇我会先说一下Java的内存区域 ...
分类:其他好文   时间:2017-08-18 13:38:43    阅读次数:291
HDU 6125 Free from square(状态压缩+分组背包)
http://acm.hdu.edu.cn/showproblem.php?pid=6125 题意: 在${1,2,3,...n}$的数中选择1~k个数,使得它们的乘积不能被平方数整除(1除外),计算有多少种取法。 思路: 考虑一下他们的质因子,如果两个数有相同的质因子,那么它们两个肯定是不能同时选 ...
分类:其他好文   时间:2017-08-18 11:17:24    阅读次数:134
第4章 面向对象编程
实验一:复数类complex 实验二:抽象基类shape ...
分类:其他好文   时间:2017-08-17 16:27:53    阅读次数:199
Free from square HDU6125
#include #include #include using namespace std; #define mod 1000000007 int T,n,k; int q[95]={2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,7... ...
分类:其他好文   时间:2017-08-16 20:16:51    阅读次数:134
【LeetCode-面试算法经典-Java实现】【059-Spiral Matrix II(螺旋矩阵II)】
【059-Spiral Matrix II(螺旋矩阵II)】 【LeetCode-面试算法经典-Java实现】【全部题目文件夹索引】 原题 Given an integer n, generate a square matrix filled with elements from 1 to n2 i ...
分类:编程语言   时间:2017-08-15 15:20:04    阅读次数:170
HDU 1398 Square Coins
http://acm.hdu.edu.cn/showproblem.php?pid=1398 大概像是01背包 ...
分类:其他好文   时间:2017-08-14 23:45:27    阅读次数:209
Android网络框架OKhttp3学习笔记
OKhttp3是一个非常强大的Android网络框架,它是由Square公司开发并开源的,很大Android开发者都会使用到,所以我也要来学学。 服务器 为了方便测试,我们需要一个后台服务器的的应用,下面是一个Java Web的Servlet,它的功能是接收客户端发来的登录数据,判断密码是否正确,并 ...
分类:移动开发   时间:2017-08-14 18:57:35    阅读次数:242
Least square method using matlab
download linux-matlab: after the installing step: 1), change the current folder for working folder: add the content to ***/installed folder/toolbox/lo ...
分类:其他好文   时间:2017-08-12 15:23:55    阅读次数:188
2122条   上一页 1 ... 79 80 81 82 83 ... 213 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!