码迷,mamicode.com
首页 >  
搜索关键字:square    ( 2122个结果
Leetcode 细节实现题 Spiral Matrix II
Spiral Matrix II  Total Accepted: 12773 Total Submissions: 41526My Submissions Given an integer n, generate a square matrix filled with elements from 1 to n2 in spiral order. For exampl...
分类:其他好文   时间:2014-08-31 17:17:11    阅读次数:128
hdoj 1518 Square 【dfs】
题意:给出n个(不同长度的)棍子,问能不能将他们构成一个正方形。 策略:深搜。...
分类:其他好文   时间:2014-08-27 08:11:47    阅读次数:181
Spiral Matrix II
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 following...
分类:其他好文   时间:2014-08-26 19:19:56    阅读次数:165
go语言下载页面html代码(d3.js代码)
此程序下载的是d3.js代码。可以保存到.html文件中运行。package main import( "fmt" "io/ioutil" "net/http") func main(){ response,_:=http.Get("http://square.github....
分类:编程语言   时间:2014-08-26 13:18:06    阅读次数:207
UVA - 1426 Discrete Square Roots (模方程)
Description A square root of a number x is a number r such that r2 = x. A discrete square root of a non-negative integer x is a non-negative integer r such that r2 x mod N , 0r < N , where ...
分类:其他好文   时间:2014-08-25 21:10:04    阅读次数:252
SGU 177.Square
时间限制:1.25s空间限制:6M题意: 给出n*n的矩阵(n#include using namespace std;int Gx[5009][2], Gy[5009][2];int color[5009];int n, m, sum;char c;void make (int p, int...
分类:其他好文   时间:2014-08-25 18:50:54    阅读次数:165
UVA - 10237 Bishops
A bishop is a piece used in thegame of chess which is played on a board of square grids. A bishop can only movediagonally from its current position and two bishops attack each other if oneis on the pa...
分类:其他好文   时间:2014-08-23 15:26:31    阅读次数:286
matlab strel
>>se3 = strel('square',3)Neighborhood: 1 1 1 1 1 1 1 1 1>> se3 = strel('line',3 , 45)Neighborhood: 0 0 ...
分类:其他好文   时间:2014-08-22 12:29:56    阅读次数:344
UVA - 11461 Square Numbers
A squarenumber is an integer number whose square root is also an integer. For example1, 4, 81 are some square numbers. Given two numbers a and b you will have tofind out how many square numbers are th...
分类:其他好文   时间:2014-08-20 16:28:22    阅读次数:151
E - Evaluate Matrix Sum
DescriptionGiven a matrix, the elements of which are all integer number from 0 to 50, you are required to evaluate the square sum of its specified sub...
分类:其他好文   时间:2014-08-20 14:03:22    阅读次数:248
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!