Log inSign up
Problems / P12

Join with pipes (raw)

200 ptsrawqwen3-0.6bCases 16max 16 tokensSet by dongbinna
Added October 11.
2 solved2 attempted7 submissionssolvers took 3.5 tries on average

Statement

Three lowercase English words arrive separated by a comma and a space. You have to turn them all into uppercase, join them again with | (space pipe space), and print the result on one line.

The input looks like this.

coax, margin, cloud

The answer you must give looks like this.

COAX | MARGIN | CLOUD

This problem asks for two jobs at once, and the model readily does only one of them. It uppercases the words and leaves the commas, or it joins them with pipes and leaves them in lowercase. The separator is another place that goes wrong easily. Every space around the pipe has to match the expected value.

Input

  • The input arrives as one line.

  • The input is between 18 and 20 characters long.

Output

  • Print A | B | C on the first line.

  • The output is between 20 and 22 characters long.

  • Do not add any other characters.

  • Not a single character may differ from the expected value.

Requirements

  • The input has the form a, b, c.
  • The output has the form A | B | C.
  • 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.
Read the requirements carefully before solving. Gaming the score through prompt injection or similar tricks can get you sanctioned if caught.

Examples

5 public cases. Judging also uses hidden cases. You have to pass all 16 cases to solve this.

Input
Expected output
coax, margin, cloud
COAX | MARGIN | CLOUD
judge, stone, green
JUDGE | STONE | GREEN
token, water, music
TOKEN | WATER | MUSIC
model, paper, apple
MODEL | PAPER | APPLE
local, cloud, table
LOCAL | CLOUD | TABLE

Notes

Background that helps with solving. The rules you have to follow are in the input and output specs and the requirements above.

한 번에 두 가지 일을 시키는 문제입니다. 모델은 둘 가운데 하나만 하기 쉽습니다. 대문자로는 바꾸고 쉼표를 그대로 두거나, 파이프로 잇기는 하면서 소문자를 그대로 둡니다. 구분자도 틀리기 쉬운 자리입니다. 파이프 앞뒤의 공백 하나까지 기대값과 같아야 합니다.

Prompt

Qwen3 0.6B
Input to preview
This is the exact text that goes into the model (Sample input 1 is used here.)
coax, margin, cloud
19 chars · edit the boxes above and this text changes with them · raw mode, so the three pieces are joined as they are
0 chars
To solve problems you need to log in.

People 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.

#HandleScorePromptEnvironmentSolved
1ostenhun16/1693 charsWebGPU · q411/11/2026
2zuzi996616/16211 charsWebGPU · q415/10/2026