码迷,mamicode.com
首页 >  
搜索关键字:square    ( 2122个结果
LeetCode-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 matrix: 1 0 1 0 0 1 0 1 1 1 1 1 1 1 1 1 0 0 1 0 ...
分类:其他好文   时间:2015-08-27 18:42:25    阅读次数:158
Android 使用LeakCanary 检测内存泄露
LeakCanary 是 Android 和 Java 内存泄露检测框架,该框架是Square公司的一个开源库,项目地址 leakcanary 。 Android 开发中你是否频频遇到内存泄露而无奈无从解决。说不定哪天你不小心写的一行代码就导致了内存泄露。可以先看看这些问题导致的内存泄露 Android开发编码规范导致的内存泄露问题,而LeakCanary 则很直白得检测出了内存泄露并展示给我们...
分类:移动开发   时间:2015-08-27 11:15:05    阅读次数:318
HDU1518 Square(DFS)
SquareTime Limit: 10000/5000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 11151Accepted Submission(s): 3588 Problem....
分类:其他好文   时间:2015-08-26 17:06:53    阅读次数:171
poj2362Square
Square Time Limit: 3000MS   Memory Limit: 65536K Total Submissions: 21988   Accepted: 7691 Description Given a set of sticks of various lengths, is it possible to join th...
分类:其他好文   时间:2015-08-26 15:50:24    阅读次数:189
poj1979 DFS
Description There is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a black tile. From a tile, he can move to one of four adjacent tiles...
分类:其他好文   时间:2015-08-25 16:42:51    阅读次数:224
poj2002 哈希
Squares Time Limit: 3500MS   Memory Limit: 65536K Total Submissions: 17666   Accepted: 6735 Description A square is a 4-sided polygon whose sides have equal length and adja...
分类:其他好文   时间:2015-08-21 23:24:31    阅读次数:219
ZOJ2835 Magic Square【幻方验证】
题目大意: 给你一个N阶的矩阵,判断是不是N阶幻方。其中使用的数字不一定是1~N^2,但是 数字一定不能有重复的。 解题思路: 根据幻方的定义,遍历判断下所有横行、竖行、斜行的和是否相等,并且用Flag[]数组 来判断是否有重复数字存在。...
分类:其他好文   时间:2015-08-21 13:33:12    阅读次数:129
Unity中OnGUI绘制贪吃蛇
Square.cs :public class Square : MonoBehaviour{ public int row, col; public Rect rect; public Texture texture; /// /// 1向上 2向右 3向下 4向左 //...
分类:编程语言   时间:2015-08-19 23:22:43    阅读次数:307
Unity中OnGUI绘制贪吃蛇
Square.cs :public class Square : MonoBehaviour{ public int row, col; public Rect rect; public Texture texture; /// /// 1向上 2...
分类:编程语言   时间:2015-08-19 19:46:53    阅读次数:322
POJ 4012
题目链接:http://poj.org/problem?id=4012 Problem B. Black Square Input ?le: black.in Output ?le: black.out Time limit: 3 seconds Memory limit: 256 megabytes Inspired by Kazimir Malevic...
分类:其他好文   时间:2015-08-19 00:43:57    阅读次数:150
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!