FZU
--Simone-
这个作者很懒,什么都没留下…
展开
-
Tickets(欧拉通路)
Each ticket can be used only once, but can be used in either direction between the 2 different cities printed on the ticket. Your prize gives you free airfare to any city to start your cruising, and free airfare back home from wherever you finish your crui原创 2014-05-05 21:59:21 · 115 阅读 · 0 评论 -
Hua Rong Dao(DFS)
rs when he escaped from Hua Rong Dao. Assuming Hua Rong Dao is a narrow aisle (one N*4 rectangle), while Cao Cao can be regarded as one 2*2 grid. Cross general can be regarded as one 1*2 grid.Vertical general can be regarded as one 2*1 grid. Soldiers can b原创 2014-05-28 19:47:48 · 143 阅读 · 0 评论 -
Digits Count(线段树)
re we have some operations: Operation 1: AND opn L R Here opn, L and R are integers. For L≤i≤R, we do A[i]=A[i] AND opn (here "AND" is bitwise operation). Operation 2: OR opn L R Here opn, L and R are integers. For L≤i≤R, we do A[i]=A[i] OR原创 2014-06-07 17:46:10 · 89 阅读 · 0 评论