Custom test case are working fine but I am getting run error on submission. Please help
Why I am getting Run time error?
@Bharatnischal declare your vector of graph after taking input n otherwise n will be not defined and hence will give run error.
Thanks Devwrat sahu its now working
1 Like