会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
叶梨子
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
2017年7月14日
B - Toy Storage(POJ - 2398) 计算几何基础题,比TOYS多了个线段排序
摘要: Mom and dad have a problem: their child, Reza, never puts his toys away when he is finished playing with them. They gave Reza a rectan...
阅读全文
posted @ 2017-07-14 19:25 叶梨子
阅读(225)
评论(0)
推荐(0)
2017年7月13日
A - TOYS(POJ - 2318) 计算几何的一道基础题
摘要: Calculate the number of toys that land in each bin of a partitioned toy box. 计算每一个玩具箱里面玩具的数量Mom and dad have a problem - their child J...
阅读全文
posted @ 2017-07-13 17:13 叶梨子
阅读(168)
评论(0)
推荐(0)
2017年7月12日
UVA - 136 Ugly Numbers (有关set使用的一道题)
摘要: Ugly numbers are numbers whose only prime factors are 2, 3 or 5. The sequence1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, ...shows the first 11...
阅读全文
posted @ 2017-07-12 20:29 叶梨子
阅读(115)
评论(0)
推荐(0)
马的移动(BFS) 详细注释 一个具有情怀的题目
摘要: 题目描述小明很喜欢下国际象棋,一天,他拿着国际象棋中的“马”时突然想到一个问题:给定两个棋盘上的方格a和b,马从a跳到b最少需要多少步?现请你编程解决这个问题。提示:国际象棋棋盘为8格*8格,马的走子规则为,每步棋先横走或直走一格,然后再往外斜走一格。输入格式输入包含...
阅读全文
posted @ 2017-07-12 16:23 叶梨子
阅读(590)
评论(0)
推荐(0)
上一页
1
2
3
4
公告