上一页 1 ··· 26 27 28 29 30
摘要: Problem C: 最长递增子序列 时间限制:1 Seconds 内存限制:128 Mbyte 总提交:377 正确:189 作者:外部导入 [提交] [统计] [提问] 题目描述 求一个数列中,递增的最长的子序列(不要求连续)的长度。 输入描述 第一行输入一个整数n(n<1000)。 第二行输入 阅读全文
posted @ 2018-06-17 13:51 RomanticChopin 阅读(93) 评论(0) 推荐(0) 编辑
摘要: #include<bits/stdc++.h> using namespace std; string sum(string s1,string s2) { if(s1.length()<s2.length()) { string temp=s1; s1=s2; s2=temp; } int i,j 阅读全文
posted @ 2018-06-06 18:44 RomanticChopin 阅读(82) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <string.h> #include <stdlib.h> #include <math.h> #include <assert.h> #include <ctype.h> #include <map> #include <string> # 阅读全文
posted @ 2018-05-09 16:10 RomanticChopin 阅读(103) 评论(0) 推荐(0) 编辑
上一页 1 ··· 26 27 28 29 30
-->
Live2D