Notes
This function is in beta test. Please help improve it in the issues
here.
Hints
Your answer may be identical to the JOJ answer in the first several lines.
However, you will still get Wrong Answer because the complete output may be longer and there might be errors in the future lines.
Please double check your code to solve this problem and try again.
Your Answer
PUSHI 0 0 4 3 2 1 HALT NOOP STORE PUSHI 2 ADD ADD PUSHI 1 NOR LOAD PUSHI 1 LOAD PUSHI 1 LOAD 999 888 1 2 0 0 0 0 0 0 0 0 0 0 0 1 LOAD 999 4 3 2 1 HALT NOOP STORE PUSHI 2 ADD ADD PUSHI 1 NOR LOAD PUSHI 1 LOAD PUSHI 1 999 888 1 2 0 0 0 0 0 0 0 0 0 0 0 1 PUSHI 1 1 999 4 3 2 1 HALT NOOP STORE PUSHI 2 ADD ADD PUSHI 1 NOR LOAD PUSHI 1 LOAD 999 888 1 2 0 0 0 0 0 0 0 0 0 0 0 1 LOAD 888 999 4 3 2 1 HALT NOOP STORE PUSHI 2 ADD ADD PUSHI 1 NOR LOAD PUSHI 1 999 888 1 2 0 0 0 0 0 0 0 0 0 0 0 1 PUSHI 1 1 888 999 4 3 2 1 HALT NOOP STORE PUSHI 2 ADD ADD PUSHI 1 NOR LOAD 999 888 1 2 0 0 0 0 0 0 0 0 0 0 0 1 LOAD 888 888 999 4 3 2 1 HALT NOOP STORE PUSHI 2 ADD ADD PUSHI 1 NOR 999 888 1 2 0 0 0 0 0 0 0 0 0 0 0 1 NOR -889 999 4 3 2 1 HALT NOOP STORE PUSHI 2 ADD ADD PUSHI 1 999 888 1 2 0 0 0 0 0 0 0 0 0 0 0 1 PUSHI 1 1 -889 999 4 3 2 1 HALT NOOP STORE PUSHI 2 ADD ADD 999 888 1 2 0 0 0 0 0 0 0 0 0 0 0 1 ADD -888 999 4 3 2 1 HALT NOOP STORE PUSHI 2 ADD 999 888 1 2 0 0 0 0 0 0 0 0 0 0 0 1 ADD 111 4 3 2 1 H
JOJ Answer
PUSHI 0 1 2 3 4 0 LOAD PUSHI 1 LOAD PUSHI 1 LOAD NOR PUSHI 1 ADD ADD PUSHI 2 STORE NOOP HALT 999 888 1 2 0 0 0 0 0 0 0 0 0 0 0 1 LOAD 1 2 3 4 999 PUSHI 1 LOAD PUSHI 1 LOAD NOR PUSHI 1 ADD ADD PUSHI 2 STORE NOOP HALT 999 888 1 2 0 0 0 0 0 0 0 0 0 0 0 1 PUSHI 1 1 2 3 4 999 1 LOAD PUSHI 1 LOAD NOR PUSHI 1 ADD ADD PUSHI 2 STORE NOOP HALT 999 888 1 2 0 0 0 0 0 0 0 0 0 0 0 1 LOAD 1 2 3 4 999 888 PUSHI 1 LOAD NOR PUSHI 1 ADD ADD PUSHI 2 STORE NOOP HALT 999 888 1 2 0 0 0 0 0 0 0 0 0 0 0 1 PUSHI 1 1 2 3 4 999 888 1 LOAD NOR PUSHI 1 ADD ADD PUSHI 2 STORE NOOP HALT 999 888 1 2 0 0 0 0 0 0 0 0 0 0 0 1 LOAD 1 2 3 4 999 888 888 NOR PUSHI 1 ADD ADD PUSHI 2 STORE NOOP HALT 999 888 1 2 0 0 0 0 0 0 0 0 0 0 0 1 NOR 1 2 3 4 999 -889 PUSHI 1 ADD ADD PUSHI 2 STORE NOOP HALT 999 888 1 2 0 0 0 0 0 0 0 0 0 0 0 1 PUSHI 1 1 2 3 4 999 -889 1 ADD ADD PUSHI 2 STORE NOOP HALT 999 888 1 2 0 0 0 0 0 0 0 0 0 0 0 1 ADD 1 2 3 4 999 -888 ADD PUSHI 2 STORE NOOP HALT 999 888 1 2 0 0 0 0