代码:SQL> declare2 pi constant number :=3.14;3 radius number default 3.3;4 area number(6,3); 5 begin6 area :=pi*radius*radius;7 dbms_output.put_line(ar....
分类:
其他好文 时间:
2015-06-15 10:51:45
阅读次数:
114
DescriptionAssuming a finite – radius “ball” which is on an N dimension is cut with a “knife” of N-1 dimension. How many pieces will the “ball” be cut...
分类:
其他好文 时间:
2015-06-12 13:07:58
阅读次数:
128
废话当然不说了。直接上代码
#mycon
{
background:url('Tpl/1.jpg');
background-size:400px 400px;
background-repeat:no-repeat;
border-radius: 4px;
border: 1px solid #ccc;
width: 400px;
height: 400px;
}
...
分类:
Web程序 时间:
2015-06-12 11:49:22
阅读次数:
122
/*radio css 单选框*/.hidden-input { opacity: 0; position: absolute; z-index: -1; } input[type=radio]+span { /* your style goes here */ display: inline-block; height: 1.5em; width: 1.5em; border-radius: 5...
分类:
Web程序 时间:
2015-06-11 19:33:54
阅读次数:
125
在看张鑫旭前辈的css3相关文章时候,看到一个用css样式实现一个“+”加号效果http://www.zhangxinxu.com/wordpress/2015/04/css3-radius-outline/这里面接触到一个新的css3属性,outline,翻译成中文就是——"轮廓";语法:outl...
分类:
Web程序 时间:
2015-06-09 00:39:32
阅读次数:
289
Android 图片阴影处理分析!最近在做一个Android位图阴影处理的效果,今天把思路总结一下:分析如下:Android sdk提供了BlurMaskFilter工具类可以给图片添加阴影效果,代码如下:
—/**
* This takes a mask, and blurs its edge by the specified radius. Whether or
* or not to...
分类:
移动开发 时间:
2015-06-08 17:26:49
阅读次数:
249
1.首先添加场景模型2.为场景模型(寻路路径)添加NavMesh渲染,操作:Windows->Navigation->勾选Navigation Static选项->不勾选Generate选项->Navigation Area选为Walk able->Back栏调整Agent Radius参数->Ba...
分类:
编程语言 时间:
2015-06-06 14:47:06
阅读次数:
177
问题描述 使用html5编写页面在移动app中嵌套,总会涉及到按钮的使用,在android手机浏览器中显示正常,但在ios safari浏览器中会看到按钮显示为圆角样式,设置border-radius:0也不好使,其实添加css ?“-we...
分类:
移动开发 时间:
2015-06-05 12:33:16
阅读次数:
158
Circleradius:doubleCircle()Circle(newRadius: double)getArea():double上面(UML类图) 的Circle行是类名; 中间radius:double 是数据域(类的属性),下面是方法;类的建立如下:package com.czj;pub...
分类:
编程语言 时间:
2015-06-04 15:32:22
阅读次数:
129
1206. Stacking Cylinders
Constraints
Time Limit: 1 secs, Memory Limit: 32 MB
Description
Problem Cylinders (e.g. oil drums) (of radius 1 foot) are stacked in a rectangular bin. Each ...
分类:
其他好文 时间:
2015-06-02 15:22:21
阅读次数:
164