- 博客(6)
- 收藏
- 关注
原创 POJ 1156 The Doors(线段相交+最短路)
原题链接Problem DescriptionYou are to find the length of the shortest path through a chamber containing obstructing walls. The chamber will always have sides at x = 0, x = 10, y = 0, and y = 10. The initia
2017-04-25 20:53:21 291
原创 POJ 3304 Segments(线段相交)
原题链接Problem DescriptionGiven n segments in the two dimensional space, write a program, which determines if there exists a line such that after projecting these segments on it, all projected segments ha
2017-04-24 21:28:45 265
原创 POJ 2828 Buy Tickets(线段树)
原题链接Problem DescriptionRailway tickets were difficult to buy around the Lunar New Year in China, so we must get up early and join a long queue…The Lunar New Year was approaching, but unluckily the Litt
2017-04-18 21:01:15 229
原创 POJ 3481 Double Queue(Splay)
原题链接Problem DescriptionThe new founded Balkan Investment Group Bank (BIG-Bank) opened a new office in Bucharest, equipped with a modern computing environment provided by IBM Romania, and using modern i
2017-04-18 20:42:13 411
原创 UESTC 1060 秋实大哥与快餐店(字典树)
原题链接Problem Description朝为田舍郎,暮登天子堂。秋实大哥从小就怀抱有远大的理想,所以他开了一家快餐店。秋实大哥根据菜的口感,给每一道菜一个唯一的CID,同时对于前来的客人,根据他们的口味喜好,秋实大哥会给每一个客人一个PID。对于一个标号为PID的客人,他对标号为CID的菜的喜爱程度为PID∧CID(∧表示按位异或),该值越大表示越喜欢。秋实大哥实在太忙了,现在他需要你来帮忙照
2017-04-18 20:19:09 334
原创 UESTC 1059 秋实大哥与小朋友(线段树+离散化)
原题链接Problem Description秋实大哥以周济天下,锄强扶弱为己任,他常对天长叹:安得广厦千万间,大庇天下寒士俱欢颜。所以今天他又在给一群小朋友发糖吃。他让所有的小朋友排成一行,从左到右标号。在接下去的时间中,他有时会给一段区间的小朋友每人v颗糖,有时会问第x个小朋友手里有几颗糖。这对于没上过学的孩子来说实在太困难了,所以你看不下去了,请你帮助小朋友回答所有的询问。Input第一行包含
2017-04-18 20:08:45 302
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人