sir, i have provided question as well as my code in the following
i hve following queries related to code
(1) when input is the sample test case, i am not getting the expected output. count is incrementing as every time for loop runs.why count is always equal to h?
(2) when i am removing comments in main() for fast i/o lines, why code is not working?
(3) in iterator for loop it!=v.end() is not working properly,but it<v.end() is working fine. when to use each?