摘要:
诶么、 终于AC了 - -最长子序列的问题加上了起始点和终止点 (多解的情况下 以第一个为准)一开始没有考虑到负数的情况 悲剧了 。看来以后做题得多考虑几组测试数据,考虑全面点。还有就是int s[100010], r[100010], p[100010];和int s[100010];int r[100010];int p[100010];在VC6下不一样呢、 1 #include <iostream> 2 3 using namespace std; 4 int s[100010], r[100010], p[100010]; 5 6 int max(int a,int b){ 阅读全文
posted @ 2011-06-02 17:33
阿刻
阅读(206)
评论(0)
推荐(2)
浙公网安备 33010602011771号