Блог пользователя dario-dsa

Автор dario-dsa, 10 лет назад, По-английски

Hi, I have problem with understanding the solution for really good problem Water on spoj from Poland. On each filed you have to put 10^5 liters of water and see how it go and use BFS. But I have problem with understanding the BFS call, which cell will go first and in which order. Can anyone help figure it out. Thanks.

  • Проголосовать: нравится
  • -3
  • Проголосовать: не нравится

»
10 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

If you're talking about this problem I suggest you read the following post if you haven't. The problem "Volume" is pretty much the same as the problem "WATER" on SPOJ.