#include#includeusing namespace std;typedef long long ll; //【skill】重命名struct num{ ll zi,mu; //分子分母};ll gcd(ll a,ll b) //求最大公约数{ return ...
分类:
其他好文 时间:
2015-03-11 16:33:00
阅读次数:
145
之前写了一篇技能树之旅: 从模块分离到测试,现在来说说这其中发生了什么。从这开始在我们没有点击任何技能的时候,显示的是”从这开始”,而当我们点下去时发生了什么?明显变化如下:
样式变了
URL变成了http://skill.phodal.com/#_a2_1_Name
点数 + 1
点亮了箭头
从Knockout开始
Knockout是一个轻量级的UI类库,通过应用MVVM模式使JavaScri...
分类:
其他好文 时间:
2015-03-06 12:47:24
阅读次数:
205
function F1() {} F1.prototype.sayHello = function(){ alert("I'm a superman."); } function f2(skill){ ...
分类:
其他好文 时间:
2015-03-03 18:26:04
阅读次数:
141
Question: I want to know how can we know wheather to which table a field belongs? How can we search a field to which table it belongs. Answer : Goto T...
分类:
其他好文 时间:
2015-02-28 18:09:32
阅读次数:
130
#include#includebool isprime(int num){ int sqr=(int)sqrt(num*1.0); //【skill】判断素数只要判断到开平方就可以了 for(int i=2 ; i=l && cnt=r) break; ...
分类:
其他好文 时间:
2015-02-24 13:47:35
阅读次数:
167
#include#includechar in[100][260];int main() { int n,lenMIN=260; scanf("%d",&n); getchar(); //【skill】吸收换行符 for(int i=0 ; i=0 ; --i) ...
分类:
其他好文 时间:
2015-02-22 15:46:15
阅读次数:
149
一.传统方式生成Table var peopleArr = [ { "name": "刘欢", "age": 50, "skill": "从头再来" }, { "name": "杨坤", "age": 35, "skill": "32唱演唱会...
分类:
Web程序 时间:
2015-02-09 21:38:49
阅读次数:
214
图片裁切功能就是裁掉图片中多余的或不需要的部分。 https://www.mockplus.cn/skill/single/shs5m4
分类:
其他好文 时间:
2015-01-26 17:32:23
阅读次数:
150
Unity3d的Debug.Log函数用于打印日志,一般项目中都会对其作如下两件事情: (1)希望有一个总的开关来控制整个游戏中日志的打印与否; (2)有的系统会将Log封一层并添加统一的标记,比如Skill模块希望打印的日志格式为[Skill]***。 对于第一个问题,Unity没有统一...
分类:
其他好文 时间:
2014-12-30 20:30:06
阅读次数:
227
Ping pong
Description
N(3N20000) ping
pong players live along a west-east street(consider the street as a line segment). Each player has a unique skill rank. To improve their skill...
分类:
其他好文 时间:
2014-12-24 22:50:18
阅读次数:
178