[2011山东ACM省赛] Sequence (动态规划)
摘要:
SequenceTime Limit: 1000ms Memory limit: 65536K有疑问?点这里^_^题目描述Given an integer number sequence A of length N (1#include #include using namespace std;const int maxn=1010;int num[maxn];long long sum[maxn];long long dp[maxn];int min(int a,int b){ return a>b?b:a;}int main(){ int t;cin>>t; int n, 阅读全文
posted @ 2014-04-24 17:12 恒邪 阅读(163) 评论(0) 推荐(0) 编辑