What is the error?
how to clear map for diff testcases?
also how to remove distance 0 of node 1 from output?
just do m.clear() to clear the map.
you can use a simple if statement for this thing!!!
giving compile error in submiting??
testcase is getting failed while submitting saying compile message–wrong answer
reply please its urgent
@garganshul151 the code I provided cleared the test case!
if you are facing problem, then you may download the test case and see.
do u submit in cb course? the same code of mine?
I submiited this code, which is yours