摘要: 最长上升子序列: dp = [1 for i in range(1007)]n = eval(input())a = list(map(int, input().split()))for i in range(n): for j in range(0, i): if a[j] <= a[i]: dp 阅读全文
posted @ 2020-02-27 21:37 SwiftAC 阅读(156) 评论(0) 推荐(0) 编辑