http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=465&page=show_problem&problem=2399最长的很简单,将串翻转过来后求两个串的lcs就是答案。。主要是字典序那里。。...
分类:
其他好文 时间:
2014-11-02 17:51:53
阅读次数:
260
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1475正反一次lis然后去min{左,右}*2-1即可#include #include #include ...
分类:
其他好文 时间:
2014-11-02 16:27:40
阅读次数:
207
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4170d[i,j]前i个字符j结尾d[i,j]=min{d[i-1,k], j和k有边}+(a[i]!=j)...
分类:
其他好文 时间:
2014-11-02 16:22:07
阅读次数:
214
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=36The 3n+ 1 problemBackgroundProblems in Computer Scien...
分类:
其他好文 时间:
2014-11-02 16:14:58
阅读次数:
137
Atitit.软件GUI按钮与仪表盘--db数据库区--导入mysql sql错误的解决之道
Keyword::截取文本文件后部分
查看提示max_allowed_packet限制
Target Server Version : 50524
3、mysql的max_allowed_packet限制【phpmyadmin | source】
Show vari like ...
分类:
数据库 时间:
2014-11-02 15:04:51
阅读次数:
313
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=27&page=show_problem&problem=2549设w[i,j]为i-j能分割成的最少回文串f[i]为前i个字符能够分成的最少回...
分类:
其他好文 时间:
2014-11-02 14:57:40
阅读次数:
159
在AppDelegate.m中设置根视图控制器
MainTabbarController.h
@interface MainTabbarController : UITabBarController
{
UIImageView *_selectedImg;
UIView *_tabbarView;
}
- (void)showtabbar:(BOOL)show;
Main...
分类:
其他好文 时间:
2014-11-02 09:30:46
阅读次数:
231
https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=2330参考资料:《算法入门经典训练指南》刘汝佳 P197这本书上面写的题目大意、解题思路都写...
分类:
编程语言 时间:
2014-11-02 07:03:27
阅读次数:
232
1 class YiChang{ 2 public static void main(String[] args){ 3 A a=new A(); 4 a.show(); 5 } 6 } 7 8 class A{ 9 int[] i={1,...
分类:
编程语言 时间:
2014-11-02 01:53:50
阅读次数:
204
修改表名:代码:alter table 旧表名 rename 新表名;示例:alter table peo rename people;注:完成后可用show tables 查表名是否被修改;修改表字段的数据类型:代码:alter table 表名 modify 字段名 新数据类型;示例:alter...
分类:
数据库 时间:
2014-11-01 21:38:22
阅读次数:
340