QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#363788#8509. Expanding STACKS!ucup-team3295#WA 1ms3832kbC++202.6kb2024-03-24 03:24:472024-03-24 03:24:49

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2
+2 +1 -1 -2

output:

GS

result:

ok correct

Test #2:

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

input:

2
+1 +2 -1 -2

output:

SG

result:

ok correct

Test #3:

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

input:

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

output:

*

result:

ok correct

Test #4:

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

input:

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

output:

GGSSSSSSSS

result:

ok correct

Test #5:

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

input:

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

output:

SSGGSSSSGS

result:

wrong answer client leaving is not the top of its stack