摘要: problem linkhttp://codeforces.com/contest/117/problem/A19:18 - 20:423 key point of this problem. a) determin which is the current floor. b) determin elevator direction c) judge the time base on the s, cf, f relationship and direction. ( s--start floor, cf--current floor, f--final floor )None of t... 阅读全文
posted @ 2011-10-13 20:46 DOF_KL 阅读(330) 评论(0) 推荐(0) 编辑
摘要: problem linkhttp://codeforces.com/contest/118/problem/E17:31 The problem is easy to understand, try to transfering the undirected graph to the directed one, and mainting the strong connectivity.17:41 One clue, how to judge whether a directed graph has strong connectivity, from any vertex, there is.. 阅读全文
posted @ 2011-10-13 19:06 DOF_KL 阅读(552) 评论(0) 推荐(0) 编辑