You are viewing a single comment's thread. Return to all comments →
Be Aware: After the n lines of phone book entries, there are an unknown number of lines of queries.
One of solutions: while True: try: ... except EOFError: ...
Seems like cookies are disabled on this browser, please enable them to open this website
An unexpected error occurred. Please try reloading the page. If problem persists, please contact support@hackerrank.com
Day 8: Dictionaries and Maps
You are viewing a single comment's thread. Return to all comments →
Be Aware: After the n lines of phone book entries, there are an unknown number of lines of queries.
One of solutions: while True: try: ... except EOFError: ...