商域无疆 (http://blog.csdn.net/omni360/)本文遵循“署名-非商业用途-保持一致”创作公用协议转载请保留此句:商域无疆 - 本博客专注于敏捷开发及移动和物联设备研究:数据可视化、GOLANG、Html5、WEBGL、THREE.JS,否则,出自本博客的文章拒绝转载或再转载...
分类:
Web程序 时间:
2015-01-29 14:29:43
阅读次数:
206
#include #include #include #include #define max_one 100#define max_two 50#define max_three 50using namespace std;struct node //structure must sign fir...
分类:
其他好文 时间:
2015-01-29 14:17:44
阅读次数:
184
Number letter counts
Problem 17
If the numbers 1 to 5 are written out in words: one, two, three, four, five, then there are 3 + 3 + 5 + 4 + 4 = 19 letters used in total.
If all the numbers ...
分类:
编程语言 时间:
2015-01-29 09:27:01
阅读次数:
199
uva 10795 A Different Task
The (Three peg) Tower of Hanoi problem is a popular one in computer science. Briefly the problem is to transfer all the disks from peg-A to peg-C using peg-B as i...
分类:
其他好文 时间:
2015-01-28 14:45:37
阅读次数:
194
Problem Description
Some people believe that there are three cycles in a person's life that start the day he or she is born. These three cycles are the physical, emotional, and intellectual cycles,...
分类:
其他好文 时间:
2015-01-28 11:18:59
阅读次数:
268
CylinderGeometry用来在三维空间内创建一个圆柱,圆锥,圆桶对象.
NOTE: 和CircleGeometry对象一样,如果我们把参数radialSeagments的值设置成4,是不是就变成了棱台了,设置成3,并且radiusTop设置成0,是不是就是金字塔了????
用法: var geometry = new THREE.CircleGeometry(5,5,20,32);
var material = new THREE.MeshBasicMaterial({color: ...
分类:
Web程序 时间:
2015-01-28 09:51:49
阅读次数:
278
PlaneGeometry用来在三维空间内创建一个平面对象.
用法: var geometry = new THREE.PlaneGeometry(5,5,20,32);
var material = new THREE.MeshBasicMaterial({color: 0x00ff00});
var plane = new THREE.Mesh(geometry,material);
scene.add(plane);
PlaneGeometry</su...
分类:
Web程序 时间:
2015-01-28 09:51:34
阅读次数:
328
Problem D
FILL
There are three jugs with a volume of a, b and c liters. (a, b, and c are positive integers not greater than 200). The first and the second jug are initially empty, while the...
分类:
其他好文 时间:
2015-01-28 09:46:17
阅读次数:
275
【Clockwise/Spiral Rule】 There is a technique known as the ``Clockwise/Spiral Rule''. (顺时针螺旋法则). There are three simple steps to follow:Starting with.....
分类:
其他好文 时间:
2015-01-27 21:32:04
阅读次数:
189
Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers. You may assume that each input would have
exact...
分类:
其他好文 时间:
2015-01-27 16:30:06
阅读次数:
121