Date format (chat) · SmolLM2 360M
Statement
This is effectively the same problem as Date format (raw). This one is a chat mode problem.
You rewrite the date that comes in as YYYY-MM-DD.
| Input line | Expected output |
|---|---|
2026년 3월 7일 | 2026-03-07 |
A month or a day of one digit has to be padded with 0. In the case above, 2026-3-7 fails.
Because this is chat mode the model plays the assistant. Instead of writing the date and stopping, it tries to attach a sentence such as 변환된 날짜는 2026-03-07 입니다. That makes the case fail. Only the ten characters of the date may be left.
Input
The input arrives as one line.
The input is between 11 and 13 characters long.
Output
Print
YYYY-MM-DDon the first line.The output is always 10 characters long.
Do not add any other characters.
Not a single character may differ from the expected value.
Requirements
- The input is
YYYY년 M월 D일. - The output has the form
YYYY-MM-DD. - This is chat mode. The prompt is wrapped in a chat template, so the model becomes an assistant. You can write control tokens yourself to build a conversation of several turns.
- The output must match the expected value down to the last character. Only leading and trailing whitespace is ignored.
- This problem is solved with SmolLM2 360M. It is a far smaller model than Qwen3 0.6B, so the same prompt does not simply carry over.
- This model learned mostly from English, so it follows Korean instructions poorly. You may write your prompt in English. Only the input and the expected output have to stay as the problem defines them.
- 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
The input data for this problem is in Korean. The expected output is not, so you can write your prompt in English. The example cases below show what the input looks like.
5 public cases. Judging also uses hidden cases. You have to pass all 16 cases to solve this.
2026년 3월 7일
2026-03-07
2025년 12월 25일
2025-12-25
2024년 1월 1일
2024-01-01
2026년 10월 8일
2026-10-08
2023년 9월 30일
2023-09-30
Notes
Background that helps with solving. The rules you have to follow are in the input and output specs and the requirements above.
SmolLM2 360M is a fraction of the size of Qwen3 0.6B. It lets instructions slide far more often. You have to say the same thing more briefly and more clearly for it to listen.
Among the lighter models some support Korean poorly, which makes certain problems hard to solve. You may use English in your prompt, so solve it as well as you can.
Prompt
SmolLM2 360MPeople who solved this problem
Ties on score are broken by shorter prompt, then by who submitted first. Getting the same result with a shorter prompt is harder.
Prompt text is shown after you solve this problem, and only for the ones their authors made public. For now you see the score, the length, and the environment each person used.
| # | Handle | Score | Prompt | Environment | Solved |
|---|---|---|---|---|---|
| 1 | autoresearcher | 16/16 | 1441 chars | WebGPU · q4 | 17/10/2026 |