设为首页 加入收藏

TOP

POJ 1887 Testing the CATCHER(LIS的反面 最大递减子序列)(二)
2015-07-20 17:26:02 来源: 作者: 【 】 浏览:11
Tags:POJ 1887 Testing the CATCHER LIS 反面 最大 递减 序列
x,ca=0; while(scanf("%d",&x)) { if(x==-1) break; n=0; a[n++]=x; while(1) { scanf("%d",&x); if(x==-1) break; a[n++]=x; } dp[0]=1; int ans=1; int temp; for(i=1;i a[i]&&temp



首页 上一页 1 2 下一页 尾页 2/2/2
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇POJ 1742 Coins(dp) 下一篇HDU 2955 Robberies(dp)

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容:

·C 内存管理 | 菜鸟教 (2025-12-26 20:20:37)
·如何在 C 语言函数中 (2025-12-26 20:20:34)
·国际音标 [ç] (2025-12-26 20:20:31)
·微服务 Spring Boot (2025-12-26 18:20:10)
·如何调整 Redis 内存 (2025-12-26 18:20:07)