2018年1月24日
摘要: 题目连接: https://www.luogu.org/problemnew/show/P2678 Description: 一年一度的“跳石头”比赛又要开始了! 这项比赛将在一条笔直的河道中进行,河道中分布着一些巨大岩石。组委会已经选择好了两块岩石作为比赛起点和终点。在起点和终点之间,有 N 块岩 阅读全文
posted @ 2018-01-24 21:30 wdm。。。 阅读(202) 评论(0) 推荐(0) 编辑
  2017年11月1日
摘要: 【问题描述】: 平面上有n(n<=100)个点,每个点的坐标均在-10000~10000之间。 其中的一些点之间有连线。若有连线,则表示可以从一个点到达另一个点,即两点之间有通路,通路的距离为两点之间的直线距离。 现在的任务是找出从一个点到另一个点的最短路径。 【输入格式】: 第1行:整数n 第2行 阅读全文
posted @ 2017-11-01 20:50 wdm。。。 阅读(1405) 评论(0) 推荐(0) 编辑
  2017年10月20日
摘要: Count Color Time Limit : 2000/1000ms (Java/Other) Memory Limit : 131072/65536K (Java/Other) Total Submission(s) : 6 Accepted Submission(s) : 1 Problem Description Chosen Problem Solving and Program design as an optional course, you are required to solve all kinds of problems. Here, we get a new problem. There is a very long board with length L centimeter, L is a positive integer, so we can evenly divide the board into L segments, and they are labeled by 1, 2, ... L from left 阅读全文
posted @ 2017-10-20 22:21 wdm。。。 阅读(552) 评论(0) 推荐(0) 编辑