3SPLITTER
The task
OUT does not change A, so use two OUTs on core a to send each value to b and to c.
P and Q must each receive every value from X, unchanged.
The board
Key idea
One core feeds two: OUT does not change A, so A is sent twice.
Hints
Each hint goes a step further than the one before. Open them one at a time.
Hint 1Show
Read each value once. A second IN on core a would take the next value from X.
Hint 2Show
On core a, OUT P1 writes A to b, and OUT P2 writes the same A to c.
Hint 3Show
Cores b and c only pass values along: IN P0, then OUT P1.
Solution
Reveal the Full SolutionThe complete program for SPLITTER. Open it only when you want the answer.
The reference program
The game's own solution. It passes every test and scores exactly par on every benchmark.
A writes each value twice, once to each branch.
aSC-2 standard
IN P0
OUT P1
OUT P2bSC-2 standard
IN P0
OUT P1cSC-2 standard
IN P0
OUT P1- CYCLES
- 198
- at par
- ENERGY
- 1638
- at par
- NODES
- 3
- at par
- INSTRUCTIONS
- 7
- at par