Life FormsTime Limit:5000MSMemory Limit:65536KTotal Submissions:10800Accepted:2967DescriptionYou may have wondere...
分类:
编程语言 时间:
2015-04-22 22:10:49
阅读次数:
155
Problem Description
In the modern time, Search engine came into the life of everybody like Google, Baidu, etc.
Wiskey also wants to bring this feature to his image retrieval system.
Every image have a long description, when users type some keywords to find...
分类:
其他好文 时间:
2015-04-22 15:19:56
阅读次数:
144
概率论中的一个重要概念是,随机变量的独立性。只有两个随机变量A、B相互独立时,才会有P(AB)=P(A)P(B)对于天气来说,这显然是不成立的。根据我们的人生经验(life experience),如果第一天下雨的话,第二天仍然下雨的概率将大大增加。但没有数据证明,这一切都是鬼话。于是,我采集了一个...
分类:
其他好文 时间:
2015-04-22 11:13:35
阅读次数:
175
http://alaric.iteye.com/blog/1931253http://www.cnblogs.com/java-my-life/archive/2012/06/06/2534942.html1.备忘录模式(Memento) 定义:主要目的是保存一个对象的某个状态,以便在适当的时候恢复...
分类:
编程语言 时间:
2015-04-20 20:28:17
阅读次数:
144
这道题搞了好久,刚开始数组开小了RE,然后是用了set就TLE,最后用数组替换set就变成了WA,最后终于发现了问题,原来if语句和else语句之间的逻辑没搞清楚
A掉之后感觉眼泪都要掉下来了
#include
#include
#include
#include
#include
using namespace std;
#define N 201005
char s[101][2001]...
分类:
其他好文 时间:
2015-04-18 23:48:45
阅读次数:
229
Description
Queues and Priority Queues are data structures which are known to most computer scientists. The Team Queue, however, is not so well known, though it occurs often in everyday life. At ...
分类:
其他好文 时间:
2015-04-18 13:13:11
阅读次数:
154
类的设计1.类的设计:
1> 类名
* 类名的第一个字母必须是大写
* 不能有下划线
* 多个英文单词,用驼峰标识
2> 属性
3> 行为(功能)2.植物大战僵尸的僵尸
* 类名:Zoombie
* 属性:life、speed、gongjili
* 行为:walk、bite、die3.雷电的飞机
* 类名:Plane
* 属性:life、gongjili、speed、bombCount
* 行为:f...
分类:
其他好文 时间:
2015-04-18 11:37:21
阅读次数:
142
Focus on technology, enjoy life!—— QQ:804212028
浏览链接:http://blog.csdn.net/y18334702058/article/details/44624305
主题:用户界面之WebView(网络视图)
-相当于Android中内嵌的网络浏览器,可在APP中打开网页。
实现效果:
方法一:1.在要Activity中实例化WebV...
分类:
移动开发 时间:
2015-04-16 17:42:37
阅读次数:
193
我在Yahoo与ATS 九死一生的故事http://www.sunchangming.com/blog/post/4667.html去年9月,我去Yahoo后领导交给我的第一件事,就是把Yahoo内部一个过时的、已经End-Of-Life的http server换成Apache Traffic Se...
分类:
其他好文 时间:
2015-04-16 14:15:03
阅读次数:
137
Focus on technology, enjoy life!—— QQ:804212028
浏览链接:http://blog.csdn.net/y18334702058/article/details/44624305
主题:用户界面之AlarmManager(全局定时器)
-
AlarmManager的作用:
AlarmManager对象配合Intent使用,可以定时的开启一个A...
分类:
移动开发 时间:
2015-04-15 17:11:11
阅读次数:
215