摘要:
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... 阅读全文
摘要:
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.. 阅读全文