摘要: 样例 输入 4 41 2 1002 4 2002 3 2503 4 100 输出 450 解题思路:用两个数组(一个dis存最短路... 阅读全文
posted @ 2021-12-05 15:56 新城R 阅读(82) 评论(0) 推荐(0)
摘要: 题目描述 输入格式 输出格式 样例 输入 4 61 2 11 3 21 4 32 3 12 4 23 4 1 输出 6 题目大... 阅读全文
posted @ 2021-11-09 21:51 新城R 阅读(107) 评论(0) 推荐(0)
摘要: Problem Description 一块花布条,里面有些图案,另有一块直接可用的小饰条,里面也有一些图案。对于给定的花布条和小饰... 阅读全文
posted @ 2021-11-09 19:27 新城R 阅读(48) 评论(0) 推荐(0)
摘要: 题目描述 图书管理是一件十分繁杂的工作,在一个图书馆中每天都会有许多新书加入。为了更方便的管理图书(以便于帮助想要借书的客人快速查找... 阅读全文
posted @ 2021-11-02 21:42 新城R 阅读(55) 评论(0) 推荐(0)
摘要: Description Given a list of phone numbers, determine if it is cons... 阅读全文
posted @ 2021-11-02 20:38 新城R 阅读(51) 评论(0) 推荐(0)
摘要: Problem Description A lot of battleships of evil are arranged in a... 阅读全文
posted @ 2021-10-27 21:15 新城R 阅读(73) 评论(0) 推荐(0)
摘要: Description For the daily milking, Farmer John’s N cows (1 ≤ N ≤ 5... 阅读全文
posted @ 2021-10-27 19:43 新城R 阅读(66) 评论(0) 推荐(0)
摘要: Description Keeping track of all the cows can be a tricky task so ... 阅读全文
posted @ 2021-10-22 21:43 新城R 阅读(57) 评论(0) 推荐(0)
摘要: Description Marsha and Bill own a collection of marbles. They want... 阅读全文
posted @ 2021-10-22 21:34 新城R 阅读(51) 评论(0) 推荐(0)
摘要: Description Every year the cows hold an event featuring a peculiar... 阅读全文
posted @ 2021-10-22 21:26 新城R 阅读(53) 评论(0) 推荐(0)