摘要: #include using namespace std; int main() { int n; int a[100],dp[100]; cin>>n; for(int i=0;i>a[i]; } for(int i=0;idp[i]) dp[i]=dp[j]+1; } } i... 阅读全文
posted @ 2018-09-19 21:47 Somnus、M 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 奔小康赚大钱 Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1836 Accepted Submission(s): 798 Problem D 阅读全文
posted @ 2018-09-19 20:52 Somnus、M 阅读(188) 评论(0) 推荐(0) 编辑