can you check my code???..which test cases didn’t pass by my code
Code issue . , ,, , , , , , , , , ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' '' ' ' ' ' '' ' ' ' ' ' ' '
hey @Nitin-Mishra-2380486738834604
try for this input
99
correct output 90
your code gives 0
and just a change
long n = obj.nextLong(); instead of long n = obj.nextInt();