上一页 1 2 3 4 5 6 7 ··· 56 下一页
摘要: 题目链接在一个叫奥斯汀的城市,有n个小镇(从1到n编号),这些小镇通过m条双向火车铁轨相连。当然某些小镇之间也有公路相连。为了保证每两个小镇之间的人可以方便的相互访问,市长就在那些没有铁轨直接相连的小镇之间建造了... 阅读全文
posted @ 2019-09-18 11:23 宿星 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 题目链接Bob的哥哥住在法国。在法国有n个城市,有n-1条双向道路连通这些城市。这些城市从1~n编号。你能沿着这些道路从一个城市走到任意一个城市。 Bob的哥哥供职于“两条路”公司,并且刚好拿到了去修缮法国的任意... 阅读全文
posted @ 2019-09-17 23:22 宿星 阅读(155) 评论(0) 推荐(0) 编辑
摘要: L. Digit sum(规律)OutputFileFor each test case, output one line containing Case #x: y, where xxx is the test... 阅读全文
posted @ 2019-09-15 18:53 宿星 阅读(108) 评论(0) 推荐(0) 编辑
摘要: https://ac.nowcoder.com/acm/contest/1084/A链接:https://ac.nowcoder.com/acm/contest/1084/A来源:牛客网 题目描述“你已经是一个成... 阅读全文
posted @ 2019-09-14 21:44 宿星 阅读(181) 评论(0) 推荐(0) 编辑
摘要: C. Dawn-K's water (完全背包) 样例输入3 32 13 11 13 52 31 23 3样例输出3 33 6题意分析:不同的水有不同的价格,要求买到至少m千克的水,输出花的最少的钱和实际买到的... 阅读全文
posted @ 2019-09-14 18:28 宿星 阅读(82) 评论(0) 推荐(0) 编辑
摘要: B Fire-Fighting Hero(最短路 Dijkstra)This is an era of team success, but also an era of heroes. Throughout th... 阅读全文
posted @ 2019-09-08 20:19 宿星 阅读(132) 评论(0) 推荐(0) 编辑
摘要: Problem Description有一张 n 个点的完全无向图,点的标号是 1...n,其中边 (i,j)(i,j)(i,j) 的长度是 i xor j,现在你需要求出点 1 到点 n 的最短路的长度。Inp... 阅读全文
posted @ 2019-08-24 17:25 宿星 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 1001 ^&^Problem DescriptionBit operation is a common computing method in computer science ,Now we have two... 阅读全文
posted @ 2019-08-23 18:24 宿星 阅读(307) 评论(0) 推荐(0) 编辑
摘要: 题目链接1001 度度熊与数字(签到题)Accepts: 3638Submissions: 7683Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 3276... 阅读全文
posted @ 2019-08-19 10:37 宿星 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 题目链接1001 Polynomial (基础数学)Accepts: 2234Submissions: 5283Time Limit: 2000/1000 MS (Java/Others)Memory Limit... 阅读全文
posted @ 2019-08-18 09:54 宿星 阅读(172) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 56 下一页