france

https://github.com/francecil

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2014年8月5日

摘要: 题意:你从家往学校赶,可以用步行和乘坐地铁这两种方式,步行速度为10km/h,乘坐地铁的速度为40KM/h。输入数据的第一行数据会给你起点和终点的x和y的坐标。然后会给你数目不超过200的双向地铁线路的站点,你可以从一个站点乘坐地铁到下一个站点,你可以在同一线路上乘坐地铁经过不同的站点,在不同线路的... 阅读全文
posted @ 2014-08-05 16:15 france 阅读(205) 评论(0) 推荐(0) 编辑

摘要: #include #include #include using namespace std;const int maxN = 100005;int a[maxN];int t, tt;int n, q, x, y;int Bsearch_lower_bound(int x){ int l =... 阅读全文
posted @ 2014-08-05 14:45 france 阅读(199) 评论(0) 推荐(0) 编辑

摘要: 1043 - Triangle PartitioningPDF (English)StatisticsForumTime Limit:0.5 second(s)Memory Limit:32 MBSee the picture below.You are givenAB,ACandBC.DEis p... 阅读全文
posted @ 2014-08-05 10:52 france 阅读(193) 评论(0) 推荐(0) 编辑

摘要: 1062 - Crossed LaddersPDF (English)StatisticsForumTime Limit:2 second(s)Memory Limit:32 MBA narrow street is lined with tall buildings. Anxfoot long l... 阅读全文
posted @ 2014-08-05 10:18 france 阅读(172) 评论(0) 推荐(0) 编辑