Sir, Minimax was in Flloyd if I remember correctly, not Dijkstra right ?
@amrmaghraby3278 жыл бұрын
But why when i am solving on Disjoint only i must to decrement x and y before enter UNION_SET function and when i use Miniumm spanning tree i mustn't decrement it??????
@ArabicCompetitiveProgramming8 жыл бұрын
I am not sure what seanrio you faced. Try to solve more problems. x and y are zero based positions in both Dijstra and other problems.
@amrmaghraby3278 жыл бұрын
yes that what i was convinced with when solving disjoint but when i wrote MST it got WA and after removing decrementing it got AC
@amrmaghraby3278 жыл бұрын
I was following this Scenario at line 72 and 73 tausiq.wordpress.com/2013/05/30/minimum-spanning-tree-kruskal-algorithm-source-code-cc/
@ArabicCompetitiveProgramming8 жыл бұрын
show your wrong code in some solving facebook groups and ask them why decrementing is WA probably it was already 0 based
@Donbcheap Жыл бұрын
وعليكم السلام ورحمة الله وبركاته
@ayasaber256710 жыл бұрын
ربنا يجزاكيك كل خير , ممكن الاكواد ؟؟
@ArabicCompetitiveProgramming10 жыл бұрын
I lost it :( You have to write it
@MohammedAli-xt9dy8 жыл бұрын
???more detail second minimum spanning tree
@ArabicCompetitiveProgramming8 жыл бұрын
there is a UVA problem about it...try to solve it...or see forums for solution idea is normal...you can get it by yourself