上一页 1 2 3 4 5 6 ··· 9 下一页
摘要: 题目 https://pintia.cn/problem-sets/994805342720868352/problems/994805437411475456 题意 给予子序列(指示数的先后关系)和目标序列 求最长不上升子序列(每个数的先后顺序和子序列中的一致)的长度 Sample Input: 阅读全文
posted @ 2020-08-22 18:47 liuyongliu 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 题目 https://pintia.cn/problem-sets/994805342720868352/problems/994805449625288704 题意 给一堆字符串,组合,使得到的字符串最小 Sample Input: 5 32 321 3214 0229 87 Sample Out 阅读全文
posted @ 2020-08-21 21:06 liuyongliu 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 题目 https://pintia.cn/problem-sets/994805342720868352/problems/994805458722734080 Sample Input 1: 50 1300 12 8 6.00 1250 7.00 600 7.00 150 7.10 0 7.20 阅读全文
posted @ 2020-08-20 15:39 liuyongliu 阅读(101) 评论(0) 推荐(0) 编辑
摘要: dijkstra算法原理 题目 https://pintia.cn/problem-sets/994805342720868352/problems/994805464397627392 题意 1030旅行计划(30分) 旅行者地图给出了高速公路沿线城市之间的距离,以及每条高速公路的成本。现在你应该 阅读全文
posted @ 2020-08-17 12:10 liuyongliu 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 题目 https://pintia.cn/problem-sets/994805342720868352/problems/994805485033603072 题意 给出后序+中序,输出层序 Sample Input: 7 2 3 1 5 7 6 4 1 2 3 4 5 6 7 Sample Ou 阅读全文
posted @ 2020-08-16 13:26 liuyongliu 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 题目 https://pintia.cn/problem-sets/994805342720868352/problems/994805480801550336 题意 模拟图书馆,查找 Sample Input: 3 1111111 The Testing Book Yue Chen test co 阅读全文
posted @ 2020-08-11 15:51 liuyongliu 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 题目 https://pintia.cn/problem-sets/994805342720868352/problems/994805489282433024 题意 一个无向图,有N个节点,有N-1个(自行车)站点,编号为0的点时自行车总部PBMC,每个站点可容纳的自行车数最大是Cmax,边的权值 阅读全文
posted @ 2020-08-09 19:27 liuyongliu 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 题目 https://pintia.cn/problem-sets/994805342720868352/problems/994805491530579968 题意 银行M个窗口,N个人来办事,几点到,每个人需要的处理时间 问平均等待时间(17点后到不处理~) Sample Input: 7 3 阅读全文
posted @ 2020-08-08 14:22 liuyongliu 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 题目 https://pintia.cn/problem-sets/994805342720868352/problems/994805498207911936 题意 N个窗口,K个人去办事,每个窗口黄线内可容纳M个人,黄线外排一对,问每个人的完成时间 Sample Input: 2 2 7 5 1 阅读全文
posted @ 2020-08-04 19:51 liuyongliu 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 题目 https://pintia.cn/problem-sets/994805342720868352/problems/994805507225665536 题意 直接解释样例 数"6"是10进制,猜数"110"的进制数,使得6==110 数"1"是2进制,猜数"ab"的进制数,使得1==ab 阅读全文
posted @ 2020-08-02 23:43 liuyongliu 阅读(157) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 9 下一页