Name the capital (raw)
Statement
This is effectively the same problem as Name the capital (chat). This one is a raw mode problem.
One country name comes in. You have to print that country's capital as one word.
| Input | Answer you must give |
|---|---|
| 프랑스 | 파리 |
The model knows the fact itself. The hard part is raw mode. With no chat template the model only carries on writing the text in front of it. It readily completes the question instead, attaching 의 수도는 어디인가요 after 프랑스, or it goes on listing country names. Your prompt has to make a place where the answer comes first.
Input
The input arrives as one line.
The input is between 2 and 5 characters long.
Output
Print the name of the capital as one word on the first line.
The answer is written in Korean.
The output is between 1 and 5 characters long.
Do not add any other characters.
Not a single character may differ from the expected value.
Requirements
- The input is a country name.
- The output is the name of the capital as one word.
- 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
The expected output for this problem is in Korean. The grader compares your output against Korean text, character for character. Look at the example cases below to see the exact words it expects. Your prompt itself can be written in English.
5 public cases. Judging also uses hidden cases. You have to pass all 16 cases to solve this.
프랑스
파리
일본
도쿄
영국
런던
이탈리아
로마
태국
방콕
Notes
Background that helps with solving. The rules you have to follow are in the input and output specs and the requirements above.
상식 자체는 모델이 알고 있습니다. 어려운 쪽은 raw 모드입니다. 채팅 템플릿이 없으니 모델은 앞의 글을 이어 쓸 뿐입니다. 프랑스 뒤에 의 수도는 어디인가요 를 붙여 질문을 완성해 버리거나, 나라 이름을 계속 나열하기 쉽습니다. 답이 먼저 나올 자리를 프롬프트가 만들어 주어야 합니다.
Prompt
Qwen3 0.6B프랑스