What is wrong in the code, other ide shows output

what is wrong in the code, all the other ide shows correct output

@vishwajeetss861999 please share the code by saving it on cb ide

i have made a submission can u please check that

note the submission with wrong answer (i solved it with the correct answer in a diff way)

@vishwajeetss861999 you are printing the letter L at some places, print the digit 1

thanks that was so stupid of me