ACM题目,速度的,浙大的题,谢谢啦

[复制链接]
查看11 | 回复2 | 2009-6-7 01:53:18 | 显示全部楼层 |阅读模式
Description】
A numeric sequence of ai is ordered if a1 #include using namespace std;int main(){ int ai[1001]; int ff[1001]; int cas; cin >> cas; while(cas--) {int n;cin >> n;for(int i=0; i> ai; ff = 1;}for(int i=0; i<n; i++){ for(int j=i+1; j<n; j++) {...
回复

使用道具 举报

千问 | 2009-6-7 01:53:18 | 显示全部楼层
对!对!...
回复

使用道具 举报

千问 | 2009-6-7 01:53:18 | 显示全部楼层
最长不降序列,简单的动态规划啊,下面这位仁兄的代码是对的,我就不啰嗦了...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行