Last character (raw)
Statement
One lowercase English word arrives. You have to print only the last character.
| Input | Answer you must give |
|---|---|
| hello | o |
This is easier than counting characters. Even so, what the model sees is tokens, not characters. When the word arrives as one piece, pulling off the final character does not go as well as you would expect. It often hands the word back as it is, or gives o and then attaches an explanation after it. What is accepted is one character.
Input
A single lowercase English word comes in as input.
The input arrives as one line.
The word is 5 to 6 characters long.
Output
On the first line, print the last character.
The output is always 1 character long.
Do not add any other characters.
Not a single character may differ from the expected value.
Requirements
- The input is a lowercase English word.
- The output is the last character.
- This is raw mode. Your two pieces and the input are joined together as they are and fed to the model. No chat template and no
<think>is added. Grading looks only as far as the first line. - The output must match the expected value down to the last character. Only leading and trailing whitespace is ignored.
- There are 16 cases, and 5 of them show the input together with the expected output. The rest show the input only.
- Model output is accepted up to 16 tokens.
- You have to pass all 16 cases to solve this.
Examples
5 public cases. Judging also uses hidden cases. You have to pass all 16 cases to solve this.
hello
o
judge
e
token
n
model
l
local
l
Notes
Background that helps with solving. The rules you have to follow are in the input and output specs and the requirements above.
글자 수를 세는 것보다는 쉽습니다. 그래도 모델이 보는 것은 글자가 아니라 토큰입니다. 낱말이 한 덩어리로 들어오면 끝 글자만 떼어 내는 일이 생각만큼 되지 않습니다. 낱말을 그대로 되돌려 주거나, o 를 내고도 뒤에 설명을 붙이는 일이 잦습니다. 받는 것은 글자 하나입니다.
Prompt
Qwen3 0.6Bhello