QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#766115#9551. The EmperorMaMengQiRE 1ms3856kbC++172.0kb2024-11-20 16:14:422024-11-20 16:14:43

詳細信息

Test #1:

score: 100
Accepted
time: 1ms
memory: 3856kb

input:

1
HALT; PUSH 1 GOTO 1

output:

1

result:

ok 1 number(s): "1"

Test #2:

score: -100
Runtime Error

input:

5
POP 1 GOTO 2; PUSH 1 GOTO 2
HALT; PUSH 1 GOTO 3
POP 1 GOTO 4; PUSH 2 GOTO 4
POP 1 GOTO 2; PUSH 2 GOTO 4
HALT; PUSH 99 GOTO 4

output:


result: