Doubt in form biggest number

not getting what’s wrong in my code.

You need to make following changes in your code :

  1. append function works with string, so instead of using int, use string,
  2. In line no 9, just take : return xy>yx;
  3. In question, test case is given, so plz change acc to that .

still giving compiler error

i have done few updates , now it’s not showing any error (still have not passed all test cases)


Try to submit it now, You havent use endl for another test case, thts why you were getting wrong ans.

1 Like

got it!
thankyou very much