Please read the new rule regarding the restriction on the use of AI tools. ×

help needed on lightoj 1155. getting wrong answer.

Revision en1, by RoyAntar0311, 2020-06-06 17:10:00

i tried to treat every regulator as an edge (idea from topcoder tutorial). and thus my nodes ar simple like any other non-regulator nodes. but i dont know what is going wrong in my implementation. can someone help me out?

my code : https://ideone.com/e5ndtq problem link : http://lightoj.com/volume_showproblem.php?problem=1155

Tags max-flow, lightoj 1155

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English RoyAntar0311 2020-06-06 17:10:00 383 Initial revision (published)