This is the simplest of interactive problems - please read explanations in this article
before trying. The purpose of this task is to learn exchanging post
requests with server at all.
You are to play quite clever game against the server:
1
and 99
and
returns it to you (with the name of secret
);answer
which contains another value, so that their sum is exactly 100
.GAME-NAME is say-100
- use it in the server url given in the instruction above.
Input data gives you a token to play and answer should contain victory token returned to you by server.
Example:
YOU SERVER
------------------------ ------------------------
token: <your-token> // request #1
secret: 74 // response #1
token: <your-token> // request #2
answer: 26
end: <your-victory-token> // response #2