码迷,mamicode.com
首页 >  
搜索关键字:lan xiangs square    ( 23031个结果
CSS各种图形绘制
CSS各种图形绘制 /*绘正方形*/ .square{ width:100px; height:100px; } /*绘长方形*/ .retangle{ width:200px; height:100px; }...
分类:Web程序   时间:2014-07-21 23:22:04    阅读次数:303
uva 201 - Squares(自己的方法,同学有更好一点点的方法)
#include #include #include #include #include using namespace std; int h[20][20]; int v[20][20]; int size_[20]; int n,m; int flag; void judge(int x,int y)//这是关键部分的代码,用来判读那是否能构成square; { int a1=n-x...
分类:其他好文   时间:2014-07-21 13:36:09    阅读次数:221
Sqrt(int x) leetcode java
Reference: http://blog.csdn.net/lbyxiafei/article/details/9375735题目:Implement int sqrt(int x).Compute and return the square root of x.题解: 这道题很巧妙的运用了二....
分类:编程语言   时间:2014-07-21 11:22:09    阅读次数:293
UVa 825 Walking on the Safe Side(DP)
Square City is a very easy place for people to walk around. The two-way streets run North-South or East-West dividing the city into regular blocks. Most street int...
分类:其他好文   时间:2014-07-20 22:33:53    阅读次数:295
[工作记录] Android OpenGL ES: non-square texture - continue
previous:[工作记录] Android OpenGL ES 2.0: square texture not supported on some devicerecently I found that it is the mipmap of a non-square texture thatc...
分类:移动开发   时间:2014-07-19 23:09:07    阅读次数:260
【leetcode刷题笔记】Sqrt(x)
Implementint sqrt(int x).Compute and return the square root ofx.题解:二分的方法,从0,1,2.....x搜索sqrt(x)的值。代码如下: 1 public class Solution { 2 public int sqrt...
分类:其他好文   时间:2014-07-19 17:37:22    阅读次数:196
poj 1017 Packets
Packets Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 43436   Accepted: 14637 Description A factory produces products packed in square packets of the same ...
分类:其他好文   时间:2014-07-19 08:11:38    阅读次数:269
Firefly《暗黑世界》碎片合成部分代码
这里讲的是Firefly《暗黑世界》碎片合成的流程部分的代码,这个主要是消息解析的部分,好吧上代码,代码路径app/game/gatenodeapp/compound.py。#coding:utf8'''Created on 2013-3-21物品合成@author: lan (www.9miao....
分类:其他好文   时间:2014-07-18 09:09:27    阅读次数:204
hdu 1518 Square(深搜dfs)
hdu 1518 Square(dfs)...
分类:其他好文   时间:2014-07-17 10:52:02    阅读次数:213
Template function 函数模板用法
#includeusing namespace std;const double PI = 3.1415926;template T min(T a[], int n){ int i; T minv = a[0]; for (i = 1; i double Circle_Square(T1 x){ ...
分类:其他好文   时间:2014-07-17 09:56:50    阅读次数:202
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!