Пожалуйста, подпишитесь на официальный канал Codeforces в Telegram по ссылке https://t.me/codeforces_official. ×

Help Needed in UVA 10816

Правка en1, от CSGO_is_life, 2016-12-07 20:23:25

I have been trying this question for 2 days. I have come up with a solution which binary searches the minimum temperature and for each possible temperature I check the minimum distance by Dijkstra's Algo. It has passed the sample test case as well as all the test cases of uDebug, but it is giving WA in UVA. Can someone give me some test cases where my code may fail. My solution

Thanks.

Теги graph, binary search, uva

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский CSGO_is_life 2016-12-07 20:48:15 219
en1 Английский CSGO_is_life 2016-12-07 20:23:25 562 Initial revision (published)