What is the error it is giving compile error but in cb ide giving correct answer?
@garganshul151 try this test:
1
4 3
1 2 24
1 4 20
4 1 3
1
here output should be 24 -1 3
but your output is 24 3
https://ide.codingblocks.com/s/304142…i have updated but nothing has happened for that…plz tell the correction
