QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#780474#9551. The Emperorucup-team5957WA 4ms36440kbC++202.4kb2024-11-25 11:11:022024-11-25 11:11:06

详细

Test #1:

score: 100
Accepted
time: 4ms
memory: 36332kb

input:

1
HALT; PUSH 1 GOTO 1

output:

1

result:

ok 1 number(s): "1"

Test #2:

score: 0
Accepted
time: 4ms
memory: 36440kb

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:

5

result:

ok 1 number(s): "5"

Test #3:

score: -100
Wrong Answer
time: 4ms
memory: 36376kb

input:

1
POP 1 GOTO 1; PUSH 1 GOTO 1

output:

2

result:

wrong answer 1st numbers differ - expected: '-1', found: '2'