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
HALT 1 2 3 4 PUSHI 0 LOAD PUSHI 1 LOAD PUSHI 1 LOAD NOR PUSHI 1 ADD ADD PUSHI 2 STORE NOOP 999 888 1 2 0 0 0 0 0 0 0 0 0 0 0 1 NOOP 1 2 3 4 PUSHI 0 LOAD PUSHI 1 LOAD PUSHI 1 LOAD NOR PUSHI 1 ADD ADD PUSHI 2 STORE 999 888 1 2 0 0 0 0 0 0 0 0 0 0 0 1 STORE 1 2 PUSHI 0 LOAD PUSHI 1 LOAD PUSHI 1 LOAD NOR PUSHI 1 ADD ADD PUSHI 2 999 888 1 2 3 0 0 0 0 0 0 0 0 0 0 1 PUSHI 2 1 2 2 PUSHI 0 LOAD PUSHI 1 LOAD PUSHI 1 LOAD NOR PUSHI 1 ADD ADD 999 888 1 2 3 0 0 0 0 0 0 0 0 0 0 1 ADD 1 4 PUSHI 0 LOAD PUSHI 1 LOAD PUSHI 1 LOAD NOR PUSHI 1 ADD 999 888 1 2 3 0 0 0 0 0 0 0 0 0 0 1 ADD 5 PUSHI 0 LOAD PUSHI 1 LOAD PUSHI 1 LOAD NOR PUSHI 1 999 888 1 2 3 0 0 0 0 0 0 0 0 0 0 1 PUSHI 1 5 1 PUSHI 0 LOAD PUSHI 1 LOAD PUSHI 1 LOAD NOR 999 888 1 2 3 0 0 0 0 0 0 0 0 0 0 1 NOR -6 PUSHI 0 LOAD PUSHI 1 LOAD PUSHI 1 LOAD 999 888 1 2 3 0 0 0 0 0 0 0 0 0 0 1 LOAD 0 PUSHI 0 LOAD PUSHI 1 LOAD PUSHI 1 999 888 1 2 3 0 0 0 0 0 0 0 0 0 0 1 PUSHI 1 0 1 PUSHI 0 LOAD PUSHI 1 LOAD 999 888 1 2 3 0 0 0 0 0 0 0 0 0 0 1 LOAD 0
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