码迷,mamicode.com
首页 >  
搜索关键字:square    ( 2122个结果
html5 canvas路径绘制2
基本文件配置lineCap定义上下文中线的端点:butt端点是垂直于线段边缘的平直边缘round端点是在线段边缘处以线宽为直径的半圆square:端点是在选段边缘处以线宽为长,以一般线宽为宽的矩形lineJoin定义了两条线相交产生的拐角miter 在连接外边缘盐城详解bevel。连接处是一个对角线...
分类:Web程序   时间:2015-04-03 10:49:56    阅读次数:162
LeetCode Sqrt(x)
Implement int sqrt(int x). Compute and return the square root of x. 题意:求平方根。 思路:二分求解。 class Solution { public: int sqrt(int x) { if (x <= 1) return x; int left = 1, right = x; wh...
分类:其他好文   时间:2015-04-02 15:10:13    阅读次数:109
数学之路-SAS分析(1)
卡方分布(chi-square distribution, χ²-distribution)是概率论与统计学中常用的一种概率分布。k个独立的标准正态分布变量的平方和服从自由度为k的卡方分布。卡方分布是一种特殊的伽玛分布,是统计推断中应用最为广泛的概率分布之一,例如假设检验和置信区间的计算。若k个随机变量、……、是相互独立,符合标准正态分布的随机变量(数学期望为0、方差为1),则随机变量Z的平方和被...
分类:其他好文   时间:2015-04-01 17:54:00    阅读次数:496
Sqrt(x)
Sqrt(x)问题:Implementint sqrt(int x).Compute and return the square root ofx.思路: 二分查找我的代码:public class Solution { public int sqrt(int x) { if(...
分类:其他好文   时间:2015-03-31 23:38:21    阅读次数:202
css3激发想象/css3各种图形
http://www.cnblogs.com/wwcherish/archive/2012/09/18/2690336.htmlcss3激发想象/css3各种图形#square { width: 100px; height: 100px; background: red; }#rectangle {...
分类:Web程序   时间:2015-03-31 19:31:07    阅读次数:213
LeetCode 69 Sqrt(x)
题目描述: Implement int sqrt(int x). Compute and return the square root of x. 题目翻译:输入x,返回sqrt(x); C语言版: int mySqrt(int x) { int t, l, r, mid; l = 1; r = x>>1; if (x <...
分类:其他好文   时间:2015-03-31 12:48:22    阅读次数:125
Sicily 1162. Sudoku
1162. Sudoku Constraints Time Limit: 1 secs, Memory Limit: 32 MB , Special Judge Description Sudoku is a very simple task. A square table with 9 rows and 9 columns is divided to 9 sm...
分类:其他好文   时间:2015-03-31 09:02:53    阅读次数:124
hdu4400 STL应用 查找思维题
http://acm.hdu.edu.cn/showproblem.php?pid=4400 Problem Description Terrorists put some mines in a crowded square recently. The police evacuate all people in time before any mine explodes. Now ...
分类:其他好文   时间:2015-03-29 12:17:37    阅读次数:151
Spiral Matrix II -- leetcode
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 matrix: [ [ 1, 2, 3 ], [ 8, 9, 4 ], [ ...
分类:其他好文   时间:2015-03-28 17:17:30    阅读次数:124
html学习笔记
框架标签 帧标签 内嵌框架标签scolling滚动条no autuo yes表单一表单二百度网邮箱框架 你的浏览器不支持框架标签fram-2.html代码编写百度网表格1表格2图片效果55555列表标签circle空心圆 disc实心圆 square方块aaaa...
分类:Web程序   时间:2015-03-28 01:04:14    阅读次数:629
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!