it is showing TLE
String remove consecutive duplicate
your condition in the for loop at line 9 should be a[i] != '\n'
okat thankyou 
Please mark your doubt as resolved if you are satisfied
1 Like
it is showing TLE
your condition in the for loop at line 9 should be a[i] != '\n'
okat thankyou 
Please mark your doubt as resolved if you are satisfied