ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1542. Autocompletion

idk why but my code do not work on TOJ compiler but it works on my pycharm compiler
Posted by Oleg Bozhenov 18 Nov 2019 03:36
So, when user starts looking for words, my program immediately writes the answer. Maybe that's why it isn't correct. For example:
user -> 2
user -> ab
program -> abc
user -> xz
program -> xzy