Log inSign up
Problems / M01

Addition (raw) · SmolLM2 360M

200 ptsrawsmollm2-360mCases 16max 8 tokensSet by dongbinna
Added October 11.
14 solved33 attempted493 submissionssolvers took 15.4 tries on average

Statement

The input is always a string of the form X + Y. You have to print the result of adding the two numbers.

InputAnswer you must give
3 + 36

The addition itself was picked to sit in the range a SmolLM2 360M model gets right reliably. The hard part is not the arithmetic, it is the output format.

In raw mode the model is nothing more than a machine that carries on writing the text in front of it. It readily attaches = 6 after 3 + 3, or writes the answer and then carries on by itself with a next problem such as 4 + 5. Grading looks only as far as the first line, so you have to leave nothing but 6 on that first line.

Input

  • A string of the form X + Y arrives as the input.

  • The input arrives as one line.

  • X is a natural number between 3 and 60.

  • Y is a natural number between 2 and 45.

  • There is one space between each number and the operator.

Output

  • Print the sum as an integer on the first line.

  • The output value is a natural number between 6 and 80.

  • Do not add any other characters.

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

Requirements

  • The input is a string of the form X + Y.
  • The output is one integer, the sum of the two numbers. Do not attach any other characters.
  • 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.
  • 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.
  • 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 8 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
3 + 3
6
7 + 9
16
12 + 25
37
40 + 2
42
8 + 8
16

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.

Prompt

SmolLM2 360M
Input to preview
This is the exact text that goes into the model (Sample input 1 is used here.)
3 + 3
5 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.

Rows where the author pressed Share prompt show their full text. Look at the environment as well. The same prompt gives a different answer when the backend or the quantization differs.

#HandleScorePromptEnvironmentSolved
1ostenhun16/1610 charsWebGPU · q420/10/2026
2sky0106316/1613 charsWebGPU · q418/10/2026
3kangug021616/1613 charsWebGPU · q426/10/2026
4bugbuger9716/1613 charsWebGPU · q427/10/2026
5jaemin16/1613 charsWebGPU · q429/10/2026
6guswns671116/1614 charsWASM(CPU) · q429/10/2026
7bemaster16/1615 charsWebGPU · q419/10/2026
8today-news16/1615 charsWebGPU · q425/10/2026
9psleon2416/1615 charsWebGPU · q428/10/2026
10sjy82816/1615 charsWebGPU · q430/10/2026
11bampal216/1615 charsWebGPU · q404/11/2026
12gayeong082016/1616 charsWebGPU · q429/10/2026
13autoresearcher16/1624 charsWebGPU · q417/10/2026
14lovewjy416/16190 charsWebGPU · q423/10/2026

How they solved it

Expand a row to see the prompt someone submitted and the environment they ran it in. An answer with a small margin may only work on that person's machine.

The remaining 13 become visible once you solve this problem.

psleon2416/16 · 15 chars · WebGPU · q4 · Submission #4631
Environment
Mac · WebGPU · q4 · 8 threads · apple metal-3 · Model smollm2-360m
Smallest margin
7.5e-4
First and second place are almost tied. This can flip on another device.
It shows because whoever submitted it made it public.
pre_prompt
20 + 6 = 26
post_prompt
 = 
Run on my deviceSubmission #4631 detailsCheck whether you get the same text and it is recorded