最简单的后缀数组求最长不可重叠的重复字串长度的问题。。具体见论文《后缀数组——处理字符串的有力工具#include #include #include #include #include #include #include using namespace std; #define MP make_....
分类:
其他好文 时间:
2014-09-25 23:49:07
阅读次数:
197
Description
A musical melody is represented as a sequence of N (1<=N<=20000)notes that are integers in the range 1..88, each representing a key on the piano. It is unfortunate but true that this ...
分类:
其他好文 时间:
2014-09-25 23:11:58
阅读次数:
239
LinksMusical ThemeTime Limit: 1000MSMemory Limit: 30000KDescriptionA musical melody is represented as a sequence of N (1<=N<=20000)notes that are inte...
分类:
其他好文 时间:
2014-09-25 22:47:27
阅读次数:
180
SASS:CSS预处理Rails:网络应用程序框架,基于RubyCompass:css样式框架提供很多开源库的CDN,theme一般不引入,jquery一般在js之前引入,node+npm-bower-bootstrap管理less,css,js,字体。预编译版:我下的是这个源码:包含预编译的文件G...
分类:
其他好文 时间:
2014-09-25 17:49:07
阅读次数:
289
最近项目需要做一个类似聊天室的模块,基于Socket实现的,这部分稍后一段时间再做总结,功能上的相关点都实现了小例子也做出来了,最后发现一个比较腻歪的问题就是软键盘弹出时总是会把标题“挤出”屏幕,(无论标题是写在布局中还是仿照theme的方式添加到style中),输入时有失观赏如下图: ...
分类:
移动开发 时间:
2014-09-25 11:44:29
阅读次数:
206
??
账户别名杂出事务处理
SELECT mtl_material_transactions_s.nextval
INTO l_mtl_txn_itf_rec.transaction_interface_id
FROM dual;
l_mtl_txn_itf_rec.transaction_header_id := l_mt...
分类:
其他好文 时间:
2014-09-25 01:19:07
阅读次数:
455
Linux mint cinnamon ? ? ? how to customize theme Linux mint have two style theme- system theme and user theme? eg: system setting->themes like picture below: Void is user theme and the other is...
分类:
系统相关 时间:
2014-09-25 00:17:08
阅读次数:
425
??
--账户别名接收
SELECT mtl_material_transactions_s.nextval
INTO l_mtl_txn_itf_rec.transaction_interface_id
FROM dual;
l_mtl_txn_itf_rec.transaction_header_id := l_mtl_txn_itf_rec.transaction_inte...
分类:
其他好文 时间:
2014-09-24 23:55:38
阅读次数:
322
出现这种情况可有2种方法解决:
1方案:clean项目,可能解决问题
2方案:1方案未解决问题,android 版本过低,右键你的项目->Properties->Android ,选择API level 11 ,或者更高的,同时添加appcompat_v7库...
分类:
移动开发 时间:
2014-09-24 16:18:27
阅读次数:
298
最近开发一个功能,需要实现一个半透明的Activity,之前都是通过在AndroidManifest中设置android:theme="@android:style/Theme.Translucent"的方法实现的。结果QA同学发现在魅族手机上会显示成不透明的灰色效果。后来把Activity的布.....
分类:
移动开发 时间:
2014-09-24 10:50:16
阅读次数:
216