摘要: 题目描述: Hamburger Magi Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1694 Accepted Submission(s): 阅读全文
posted @ 2021-03-16 09:41 cono奇犽哒 阅读(66) 评论(0) 推荐(0)
摘要: 题目描述: Doing Homework Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 17631 Accepted Submission(s) 阅读全文
posted @ 2021-03-15 11:41 cono奇犽哒 阅读(77) 评论(0) 推荐(0)
摘要: Problem Description After coding so many days,Mr Acmer wants to have a good rest.So travelling is the best choice!He has decided to visit n cities(he 阅读全文
posted @ 2021-03-14 21:57 cono奇犽哒 阅读(106) 评论(0) 推荐(0)
摘要: 传送门 题目描述: 房间里放着 n 块奶酪。一只小老鼠要把它们都吃掉,问至少要跑多少距离?老鼠一开始在 (0,0)(0,0) 点处。 做题思路: 是所有点遍历求最短路径的裸题,我只想到暴力dfs,玄学优化,就是把距离最短的先访问,然后找到一条路径后大概率是最短的, 这样得到的距离就能用来剪枝了,可以 阅读全文
posted @ 2021-03-14 12:37 cono奇犽哒 阅读(210) 评论(0) 推荐(0)
摘要: 题目描述: 1128 N Queens Puzzle (20 分) The "eight queens puzzle" is the problem of placing eight chess queens on an 8 chessboard so that no two queens thre 阅读全文
posted @ 2021-03-12 15:59 cono奇犽哒 阅读(86) 评论(0) 推荐(0)
摘要: 题目描述: 1129 Recommendation System (25 分) Recommendation system predicts the preference that a user would give to an item. Now you are asked to program 阅读全文
posted @ 2021-03-12 15:25 cono奇犽哒 阅读(66) 评论(0) 推荐(0)
摘要: 题目描述: 1038 Recover the Smallest Number (30 分) Given a collection of number segments, you are supposed to recover the smallest number from them. For ex 阅读全文
posted @ 2021-03-11 21:34 cono奇犽哒 阅读(72) 评论(0) 推荐(0)
摘要: 题目描述: 1045 Favorite Color Stripe (30 分) Eva is trying to make her own color stripe out of a given one. She would like to keep only her favorite colors 阅读全文
posted @ 2021-03-11 20:57 cono奇犽哒 阅读(64) 评论(0) 推荐(0)
摘要: 题目描述: 1049 Counting Ones (30 分) The task is simple: given any positive integer N, you are supposed to count the total number of 1's in the decimal for 阅读全文
posted @ 2021-03-11 19:37 cono奇犽哒 阅读(62) 评论(0) 推荐(0)
摘要: 题目描述: 1018 Public Bike Management (30 分) There is a public bike service in Hangzhou City which provides great convenience to the tourists from all ove 阅读全文
posted @ 2021-03-11 15:36 cono奇犽哒 阅读(69) 评论(0) 推荐(0)