• + 0 comments

    here you scan only n char but last char is '\n' so that use n+1 in instead of n