QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#590893#8509. Expanding STACKS!GuanYunchangWA 1ms5908kbC++172.0kb2024-09-26 12:37:402024-09-26 12:37:41

详细

Test #1:

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

input:

2
+2 +1 -1 -2

output:

GG

result:

ok correct

Test #2:

score: 0
Accepted
time: 1ms
memory: 5908kb

input:

2
+1 +2 -1 -2

output:

SG

result:

ok correct

Test #3:

score: 0
Accepted
time: 1ms
memory: 5880kb

input:

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

output:

*

result:

ok correct

Test #4:

score: 0
Accepted
time: 1ms
memory: 5908kb

input:

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

output:

GGGGGGGGGG

result:

ok correct

Test #5:

score: 0
Accepted
time: 1ms
memory: 5788kb

input:

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

output:

GSGGGGGGGG

result:

ok correct

Test #6:

score: -100
Wrong Answer
time: 1ms
memory: 5808kb

input:

42
+26 -26 +12 +8 -12 -8 +30 +5 +22 +3 -3 +2 -30 +10 -10 -2 -22 +23 +39 -39 +17 -17 -23 +38 +24 -24 +27 +29 -29 -27 -38 -5 +37 -37 +21 +16 +28 -28 +6 +40 +14 +19 -19 -14 +11 +35 -35 -11 +4 +25 -25 -4 -40 -6 +13 +20 +1 -1 +33 +34 +7 -7 -34 +41 -41 +36 +31 -31 -36 +42 +32 -32 +15 +18 -18 -15 +9 -9 -42...

output:

GSGSGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG

result:

wrong answer client leaving is not the top of its stack