摘要: 题意 给你 n 个数,让你从中找出最长的等差序列 思路 dp求最长等差数列的长度 dp [ i ] [ j ] :以第 i 个数为... 阅读全文
posted @ 2020-10-04 21:33 我找木鱼 阅读(60) 评论(0) 推荐(0)
摘要: 题目描述 In a 10-dollar shop, everything is worthy 10 dollars or less.... 阅读全文
posted @ 2020-10-04 20:48 我找木鱼 阅读(93) 评论(0) 推荐(0)
摘要: 题目描述 DIDIDI and WNJXYK are good friends. One day, they go to the z... 阅读全文
posted @ 2020-10-04 20:20 我找木鱼 阅读(72) 评论(0) 推荐(0)
摘要: 题目描述 The world is at the brink of extinction. A mutated virus thre... 阅读全文
posted @ 2020-10-04 19:20 我找木鱼 阅读(69) 评论(0) 推荐(0)
摘要: 题目描述:点击进入 思路 01背包,套板子 代码 #include#include#include//#include#includ... 阅读全文
posted @ 2020-10-04 18:47 我找木鱼 阅读(68) 评论(0) 推荐(0)
摘要: 题目链接:点击进入 思路 分组背包,套板子 代码 #include#include#include//#include#includ... 阅读全文
posted @ 2020-10-04 18:37 我找木鱼 阅读(57) 评论(0) 推荐(0)