Test cases failing

can someone tell my errors?

@lakshay2311
hello Lakshay,
please save ur code on https://ide.codingblocks.com/ and share the generated link here

check it I have already shared it

@lakshay2311
the issue is in ur compare function
for example if a =2 and b=21
then it will order them in 212 but actually it should be 221
to resolve it replace ur return statement with
return a+b > b+a

okay lemme check and then revert back to you.

Nope still none of the test case passed.

… wait i m checcking

1 Like

@lakshay2311
lakshay u need to print answer for each test cases in separte line .
so just print ā€˜\n’ after ur print function call

can you edit in the code where exactly I have to print a new line.

image

no thanks I got it
:slight_smile:

… :+1::+1::+1: