|
|
вернуться в форумWe have 10 000 station. And we have M<=100 000 000 pipelines between station. And we have only 0.5 seconds fo read 300 000 000 numbers. It is not possible!!! Judges must do something with this problem! There are much less than 300000000 pipelines. The graph is flat. Flat graph with N vertices can have maximum 2*N-3 edges, so the problem input is not so large Flat graph with N>2 vertices can have maximum 3*N-6 edges! Oops... You are right! :) |
|
|