Answer correct in other ide plz check

please check the code in all other ide’s random test cases are passed