简单递推(递推式真不想写了),但是要高精加。结果没有1A。。。蒟蒻啊。。。要写高精加,突然想到Pascal的高深之处,既可以定义operator,还可以写class,而且自带unit AVLtree!!!(↑其实就是凑字数的) 1 /*********************************...
分类:
其他好文 时间:
2014-10-14 01:56:47
阅读次数:
297
【Unity牛逼的2D纹理功能】1、可直接将贴图生成成为Cubemap。 2、自动生成Mipmap。 参考:file:///C:/Program%20Files%20(x86)/Unity/Editor/Data/Documentation/html/en/Manual/class-Textur.....
分类:
编程语言 时间:
2014-10-14 01:01:57
阅读次数:
437
以下内容主要摘自[1,2](1)In javascript,functions are first-class objects, which means functions can be used in a first-class manner like objects, since they ar...
分类:
编程语言 时间:
2014-10-14 00:49:27
阅读次数:
290
public class DataList { public List listSource; private DataTable table; public DataList() { table = new...
分类:
其他好文 时间:
2014-10-14 00:19:47
阅读次数:
186
You are climbing a stair case. It takes n steps to reach to the top.
Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top?
//第一种解法
class Solution {
pub...
分类:
其他好文 时间:
2014-10-13 23:41:27
阅读次数:
393
在我的记忆中,activity似乎是一个抽象类吧。
你要用他的方法,就需要一个子类来继承他并实例化,这样就可以调用方法了。
public class child extends Activity
{
}...
分类:
其他好文 时间:
2014-10-13 23:22:07
阅读次数:
133
/**
* 数据对象
* @author stone
*
*/
public class DataState {
private String action;
public void setAction(String action) {
this.action = action;
}
public String getAction() {
return action;...
分类:
编程语言 时间:
2014-10-13 23:20:27
阅读次数:
250
package com.entity;public class User { private String username; private String password; private Integer id; public String getUsername() { return use....
分类:
Web程序 时间:
2014-10-13 21:48:07
阅读次数:
225
最近因为工作关系,需要通过HttpWebRequest去请求API,所有就写了个简单的辅助类,做下备份。public sealed class HttpRequestHelper { private static string USER_AGENT = "Mozilla/5.0 ...
分类:
Web程序 时间:
2014-10-13 21:40:47
阅读次数:
238
package com.entity;import javax.persistence.Entity;import javax.persistence.OneToOne;@Entitypublic class Husband extends BaseEntity { @OneToOne(mapped...
分类:
Web程序 时间:
2014-10-13 21:20:57
阅读次数:
187