欢迎来到EasyLiu的博客 !
参考:directxtutorial.com DirectX.9.0.3D游戏开发编程基础
In the last lesson you built a simple, flat triangle lit with simple diffuse lighting. This triangle was not 3D, it was flat...
分类:
其他好文 时间:
2015-08-28 23:25:47
阅读次数:
333
7.2 There are three ants on different vertices of a triangle. What is the probability of collision (between any two or all of them) if they start walk...
分类:
其他好文 时间:
2015-08-28 12:39:05
阅读次数:
138
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.
For example, given the following triangle
[
[2],
[3,4],
[...
分类:
其他好文 时间:
2015-08-27 15:17:59
阅读次数:
141
HDU4324 - Triangle LOVE 拓补排序...
分类:
编程语言 时间:
2015-08-27 11:15:15
阅读次数:
203
Triangle LOVE
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)
Total Submission(s): 3903 Accepted Submission(s): 1537
Problem Description
Recently...
分类:
其他好文 时间:
2015-08-26 01:58:29
阅读次数:
204
题目传送门题意:判三角恋(三元环)。如果A喜欢B,那么B一定不喜欢A,任意两人一定有关系连接分析:正解应该是拓扑排序判环,如果有环,一定是三元环,证明。DFS:从任意一点开始搜索,搜索过的点标记,否则超时。看是否存在两点路程只差等于2,如果存在,则说明有上述的三角环。其他做法。收获:DFS搜索一定要...
分类:
编程语言 时间:
2015-08-25 21:13:29
阅读次数:
207
http://acm.hdu.edu.cn/showproblem.php?pid=4324/*搜索一个三角形,用vector+vis来减少复杂度*//************************************************* Author :Powatr* C...
分类:
其他好文 时间:
2015-08-25 16:23:09
阅读次数:
113
triangle_up
向上三角形代码:
.tri-up {
border-color: #FFF #FFF #EED2EE #FFF;
border-style: solid;
border-width: 0 60px 100px 60px;...
分类:
Web程序 时间:
2015-08-18 21:24:26
阅读次数:
162
1.三角形: 1.用传统的方式:.triangle{ background:blue transparent transparent transparent; border-width:100px 60px 0 60px; border-style:solid ; height:0 ;w...
分类:
Web程序 时间:
2015-08-18 18:00:33
阅读次数:
114
11401 - Triangle Counting
Time limit: 1.000 seconds
题意:给你n个线段,长度1-n。问可以组成多少不同的三角形
解题思路:
设最大边长为x的三角形有C(x)个,另外两条边长分别为y和z,根据三角不等式有y+z>x。所以z的范围是x-y
①根据这个不等式,当y=1时x-1
②上面的解包含了y=z的情况...
分类:
其他好文 时间:
2015-08-18 11:52:53
阅读次数:
223