泛型接口指定实参 public sealed class Point { public Int32 x; public Int32 y; public override string ToString() { ...
分类:
其他好文 时间:
2014-07-09 23:26:48
阅读次数:
208
The end of otherFor language training our Robots want to learn about suffixes.In this task, you are given a set of words in lower case. Check whether ...
分类:
编程语言 时间:
2014-07-09 21:54:26
阅读次数:
200
问题:Windows 8.1系统上安装VirtualSVN Server发生Service 'VisualSVN Server' failed to start. Please check VisualSVN Server log in Event Viewer for more details. 错误
点击retry之后,也无法使用。
网上方案:
在弹出错误之后,运行:ser...
分类:
其他好文 时间:
2014-07-08 19:23:02
阅读次数:
220
游戏光源
在3D游戏中,光源是一个非常具有特色的游戏组件。用来提升游戏画面质感的。如果没有加入光源,游戏场景可能就会显得很昏暗。在unity中提供了三种不同的光源类型:点光源,聚光灯,平行光。
点光源
顾名思义,点光源是从一个点向周围散发出光的光源,就像电灯一样。创建点光源在hierarchy视图中点击create——point light:
创建完以后...
分类:
其他好文 时间:
2014-07-08 16:29:44
阅读次数:
221
Givennnon-negative integersa1,a2, ...,an, where each represents a point at coordinate (i,ai).nvertical lines are drawn such that the two endpoints of ...
分类:
其他好文 时间:
2014-07-06 17:44:30
阅读次数:
181
double dis(Point a){ return a.x*a.x+a.y*a.y;}struct Circle Circumcircle(){ Circle tmp; double a,b,c,c1,c2; double xa,ya,xb,yb,xc,yc; a ...
分类:
其他好文 时间:
2014-07-06 17:39:21
阅读次数:
153
2014.07.04 23:57简介: 这本教材中提到了一个概念,叫关节点(articulation point)。如果从某个无向图里去掉某个顶点以及这个顶点所有的边,如果此时图中连通分量的个数增加了,那么定义这个顶点为“关节点”。更通俗地解释,可以说如果拿走这个顶点,这幅图就破成了好几块,因此这....
分类:
编程语言 时间:
2014-07-06 16:28:12
阅读次数:
287
一导入js库二、默认校验规则(1)required:true 必输字段(2)remote:"check.php"使用ajax方法调用check.php验证输入值(3)email:true 必须输入正确格式的电子邮件(4)url:true 必须输入正确格式的网址(5)date:true 必须输入正确格...
分类:
Web程序 时间:
2014-07-06 14:04:28
阅读次数:
291
作者:iamlaosong
1、问题提出
编程中发现一个问题,系统总是提示编译错误,ByRef 参数类型不符,
可实际上参数定义没问题,原因在哪儿呢?
2、问题环境
假定函数定义如下:
Function get_kind(addr As String) As Integer
......
End Function
调用过程:
Sub check_addres...
分类:
其他好文 时间:
2014-07-06 10:45:44
阅读次数:
399
链表的归并排序
超时的代码
class Solution:
def merge(self, head1, head2):
if head1 == None:
return head2
if head2 == None:
return head1
# head1 and head2 point to the same link list
if head1 == he...
分类:
编程语言 时间:
2014-07-06 09:09:51
阅读次数:
275