我在 VS 14 CTP 中新建了一个空的 app store 项目名叫 PlayWithXaml ,项目的 MainPage.xaml 文件改为了以下内容: I don't feel good 现在...
分类:
移动开发 时间:
2014-10-06 16:59:00
阅读次数:
283
Good Luck in CET-4 Everybody!Time Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4762Accepted Submissi...
分类:
其他好文 时间:
2014-10-05 13:21:58
阅读次数:
173
DescriptionWithout expecting, Angel replied quickly.She says: "I'v heard that you'r a very clever boy. So if you wanna me be your GF, you should solve...
分类:
其他好文 时间:
2014-10-04 21:53:07
阅读次数:
220
1,terminal :
input: which python
2, terminal:
input : python --->import sys ----> print sys.path
ok! good luck!!...
分类:
编程语言 时间:
2014-10-04 18:15:57
阅读次数:
185
Divides one thing entire to many objects;Like perspectives, which rightly gazed uponShow nothing but confusion. . .—William Shakespeare, The Tragedy o...
分类:
编程语言 时间:
2014-10-04 14:19:56
阅读次数:
275
Functions are values, and we can manipulate function values in interesting ways.Currying allows us to produce a new function by combining a function a...
分类:
编程语言 时间:
2014-10-03 21:58:45
阅读次数:
174
适配器模式(adapter pattern),又名包装器(Wrapper),是一种“伪装式”委派方式。问题描写叙述:假定接口Being(生命) 有抽象方法eat()、run(),它的实现类有人/Person、狗/Dog等等;现有 (第三方) 已经存在的鸟/Bird类,可是Bird拥有的方法头/接口不...
分类:
其他好文 时间:
2014-10-03 14:38:14
阅读次数:
240
官方的当前gstreamer版本号还不支持x265编解码,因此要加入?x265,须要自己编译。本文基于gstreamer1.3.3版进行编译安装。须要首先自己编译gstreamer1.3.3,以及对应的base、good、bad、ugly插件一、安装编译x265编码器1.下载源代码。 开源x265....
分类:
其他好文 时间:
2014-10-02 20:36:13
阅读次数:
448
题意:n张牌,双方轮流抓取。每人每次抓取的牌数必须是2的幂次(1,2,4,8...)。最后抓完的人胜。思路 :考虑剩3张牌,后手胜。考虑3的倍数。假设先抓者当轮抓2x 张,2x %3等于1或2。故先手不管怎么取,后手取1或2则可凑成3的倍数。故若总牌数是3的倍数,先手败。否则先手胜。代码:int n...
分类:
其他好文 时间:
2014-10-01 21:30:31
阅读次数:
151
Why, every fault’s condemn’d ere it be done:Mine were the very cipher of a function. . .—William Shakespeare, Measure for MeasureThe best thing about ...
分类:
编程语言 时间:
2014-10-01 14:47:31
阅读次数:
190