QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#591105#8509. Expanding STACKS!MaMengQiWA 0ms3700kbC++171.1kb2024-09-26 14:11:092024-09-26 14:11:11

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 3548kb

input:

2
+2 +1 -1 -2

output:

SS

result:

ok correct

Test #2:

score: 0
Accepted
time: 0ms
memory: 3448kb

input:

2
+1 +2 -1 -2

output:

SG

result:

ok correct

Test #3:

score: 0
Accepted
time: 0ms
memory: 3516kb

input:

3
+1 +2 +3 -1 -2 -3

output:

*

result:

ok correct

Test #4:

score: 0
Accepted
time: 0ms
memory: 3700kb

input:

10
+3 -3 +4 -4 +6 +2 -2 -6 +7 -7 +5 -5 +10 +1 +9 +8 -8 -9 -1 -10

output:

SSSSSSSSSS

result:

ok correct

Test #5:

score: -100
Wrong Answer
time: 0ms
memory: 3436kb

input:

10
+8 -8 +2 +10 -2 -10 +7 -7 +1 -1 +6 -6 +5 +3 +4 +9 -9 -4 -3 -5

output:

SSGSSSSSSS

result:

wrong answer client leaving is not the top of its stack