We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
I also faced the same issue. Its due to the canonical mode enabled in the tty where running the executable. If this mode is enabled, strings more than 4096 bytes can not be entered in to the tty. hackerrank team should use 'stty -icanon' command before running the test case. Thanks
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Funny String
You are viewing a single comment's thread. Return to all comments →
I also faced the same issue. Its due to the canonical mode enabled in the tty where running the executable. If this mode is enabled, strings more than 4096 bytes can not be entered in to the tty. hackerrank team should use 'stty -icanon' command before running the test case. Thanks