Given a string, we can "shift" each of its letter to its successive letter, for example: "abc" -> "bcd". We can keep "shifting" which forms the sequen ...
分类:
其他好文 时间:
2016-08-14 13:06:05
阅读次数:
150
Eva is trying to make her own color stripe out of a given one. She would like to keep only her favorite colors in her favorite order by cutting off th ...
分类:
其他好文 时间:
2016-08-13 10:03:42
阅读次数:
205
onCreate(){ getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); } onStop(){ getWindow().removeFlags(WindowManager.LayoutParams.FLAG_ ...
分类:
其他好文 时间:
2016-08-13 06:31:49
阅读次数:
195
Keep In Touch Problem Description There are n cities numbered with successive integers from 1 to n in Byteland. Also, there are m one-way roads connec ...
分类:
其他好文 时间:
2016-08-12 18:17:42
阅读次数:
135
题意: 给你不同的字符每个 ai 个,让你构造一些回文串,问你能达到这些回文串长度的最小值的最大值是多少 分析: 要么直接组成单链. 要么按落单的字符的数目将成对字符分摊取最短. ...
分类:
其他好文 时间:
2016-08-11 22:40:57
阅读次数:
116
14号就ccpc全国赛的全国赛了 而且也快东北赛的选拔赛了 现在队伍实力实在不行 参加了也是边缘化的队伍 虽然有新生保护的设置 但实话说 机会还是不大 所以不如趁现在开始好好努力 明年也许还有机会 An Ac a Day ( of course not keep a girl away ^_^ ) ...
分类:
其他好文 时间:
2016-08-11 22:25:36
阅读次数:
240
1、什么是Keep-Alive模式?我们知道HTTP协议采用“请求-应答”模式,当使用普通模式,即非KeepAlive模式时,每个请求/应答客户和服务器都要新建一个连接,完成
之后立即断开连接(HTTP协议为无连接的协议);当使用Keep-Alive模式(又称持久连接、连接重用)时,Keep-Alive功..
分类:
Web程序 时间:
2016-08-11 07:31:57
阅读次数:
142
题目:传送门。 如果每个字符出现次数都是偶数, 那么答案显然就是所有数的和. 对于奇数部分, 显然需要把其他字符均匀分配给这写奇数字符. 随便计算下就好了. ...
分类:
其他好文 时间:
2016-08-08 20:53:01
阅读次数:
239