
其他
SPZn_up
这个作者很懒,什么都没留下…
展开
-
uva 156 Ananagrams(字符串+STL应用)
uva 156 AnanagramsMost crossword puzzle fans are used to anagrams--groups of words with the same letters in different orders--for example OPTS, SPOT, STOP, POTS and POST. Some words however do原创 2014-12-28 13:20:56 · 489 阅读 · 0 评论 -
uva 12299 RMQ with Shifts(线段树单点更新初步应用)
uva 12299 RMQ with ShiftsIn the traditional RMQ (Range Minimum Query) problem, we have a static array A. Then for each query (L, R) (LR), we report the minimum value among A[L],A[L + 1],原创 2014-12-29 23:19:30 · 469 阅读 · 0 评论 -
poj 2886 Who Gets the Most Candies? (线段树单点更新应用)
poj 2886 Who Gets the Most Candies? DescriptionN children are sitting in a circle to play a game.The children are numbered from 1 to N in clockwise order. Each of them has a card with原创 2014-12-30 21:42:16 · 625 阅读 · 0 评论