会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
新城R
博客园
首页
新随笔
联系
订阅
管理
2021年12月5日
次短路 - Roadblocks - 一本通 3.2 练习 2
摘要: 样例 输入 4 41 2 1002 4 2002 3 2503 4 100 输出 450 解题思路:用两个数组(一个dis存最短路...
阅读全文
posted @ 2021-12-05 15:56 新城R
阅读(82)
评论(0)
推荐(0)
2021年11月9日
spfa - 黑暗城堡 - 一本通 3.1 例 1
摘要: 题目描述 输入格式 输出格式 样例 输入 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)
KMP - 剪花布条 - 一本通 2.2 例 1
摘要: Problem Description 一块花布条,里面有些图案,另有一块直接可用的小饰条,里面也有一些图案。对于给定的花布条和小饰...
阅读全文
posted @ 2021-11-09 19:27 新城R
阅读(48)
评论(0)
推荐(0)
2021年11月2日
hash - 图书管理 - 一本通 2.1 例 2
摘要: 题目描述 图书管理是一件十分繁杂的工作,在一个图书馆中每天都会有许多新书加入。为了更方便的管理图书(以便于帮助想要借书的客人快速查找...
阅读全文
posted @ 2021-11-02 21:42 新城R
阅读(55)
评论(0)
推荐(0)
字典树 - Phone List - 一本通 2.3 例 1
摘要: Description Given a list of phone numbers, determine if it is cons...
阅读全文
posted @ 2021-11-02 20:38 新城R
阅读(51)
评论(0)
推荐(0)
2021年10月27日
线段树 - Can you answer these queries? - HDU - 4027
摘要: Problem Description A lot of battleships of evil are arranged in a...
阅读全文
posted @ 2021-10-27 21:15 新城R
阅读(73)
评论(0)
推荐(0)
线段树 - Balanced Lineup - POJ - 3264
摘要: Description For the daily milking, Farmer John’s N cows (1 ≤ N ≤ 5...
阅读全文
posted @ 2021-10-27 19:43 新城R
阅读(66)
评论(0)
推荐(0)
2021年10月22日
dp - Cheapest Palindrome - POJ - 3280
摘要: Description Keeping track of all the cows can be a tricky task so ...
阅读全文
posted @ 2021-10-22 21:43 新城R
阅读(57)
评论(0)
推荐(0)
二进制优化背包 - Dividing - POJ - 1014
摘要: Description Marsha and Bill own a collection of marbles. They want...
阅读全文
posted @ 2021-10-22 21:34 新城R
阅读(51)
评论(0)
推荐(0)
二分 - River Hopscotch - POJ - 3258
摘要: Description Every year the cows hold an event featuring a peculiar...
阅读全文
posted @ 2021-10-22 21:26 新城R
阅读(53)
评论(0)
推荐(0)
下一页