Пожалуйста, прочтите новое правило об ограничении использования AI-инструментов. ×

Блог пользователя WIL

Автор WIL, 9 лет назад, По-английски

My doubt is in problem "Riding the Fences" from Usaco site. I don't know the main idea for solve this problem. I know, is base in eulerian graph, but i don't see how solve it. Thank you for the help.

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

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

All you need to do is implement the algorithm to find a eulerian tour/circuit. The algorithm is described on this page in the USACO training pages, which you should have already read...