I want to describe 2 problems I have found so far.
1. End Of Line
I submitted the same code later and got "Accepted"!
readline() to work successfully the input line must end with a new line(
'\n'). When I was manually selecting and copying example input text from the problem statement page, it was not being copied with the ending new line. But, when I copied the same input by clicking the "Copy" button at the right side of the example input box, it was copied with the ending new line character.
If input is manually selected and copied, or typed in the Custom Invocation input box by using keyboard, a new line at the end of the input line can make
readline() work perfectly.
2. Trailing Backslash
If there is a backslash(
undefined. I have not found anything to overcome this problem yet. Any help will highly appreciated.
Thank you very much for reading.