|시간 제한||메모리 제한||제출||정답||맞은 사람||정답 비율|
|1 초||1024 MB||14||7||6||46.154%|
The Northwestern Europe Regional Contest is coming up soon, and you do not feel confident about your programming skills. In an act of desperation you decide to put on your black hat. After doing some reconnaissance on the contest website you stumble upon a hidden page, guarded by a password prompt in a system known as the Incredibly Clever Password Control (ICPC). Perhaps this is where the jury stores the solutions to all the contest problems?
After inspecting the system you make the following observations about ICPC:
Use this information to log into the system.
This is an interactive problem. Your submission will be run against an interactor, which reads the standard output of your submission and writes to the standard input of your submission. This interaction needs to follow a specific protocol:
Your submission must repeatedly send a line consisting of $4$ lowercase letters, which represents a login attempt. The interactor then responds with one of:
correct", indicating that the login attempt was successful, and your submission should exit.
Make sure you flush the buffer after each write.
A testing tool is provided to help you develop your solution.
1 2 0 3 3 0 correct
accp cacp ocpc icpc