bad_alloc() problemthank you again...@MiiNiPaa. Changed the type of Y and num.And the solution was accepted.:)
bad_alloc() problemthank you.My code passed the small input.But it is not passing the large input test.I am also using ...
bad_alloc() problemYa got your point.and yes got the right answer now.Thank you very much... Have a nice day to you Mii...
bad_alloc() problemBut according to line 29 and 30 of the second code,it should work as follows: [output] 1 2 3 4 5 0 0...
bad_alloc() problem@MiiNiPaa Thank you for pointing out the error.The .out file and .in file were in wrong position.so ...
This user does not accept Private Messages