QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#772817#6352. SPPPSPSS.ucup-team2454#WA 2ms14072kbC++204.2kb2024-11-22 22:05:522024-11-22 22:05:54

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 9868kb

input:

3
1 2 3

output:

.

result:

ok OK 0 operations

Test #2:

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

input:

2
2 1

output:

PS.

result:

ok OK 2 operations

Test #3:

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

input:

9
3 2 4 1 5 6 7 9 8

output:

SSPP.

result:

ok OK 4 operations

Test #4:

score: 0
Accepted
time: 2ms
memory: 14072kb

input:

10
2 9 5 7 10 6 3 1 8 4

output:

SSSSSPSP.

result:

ok OK 8 operations

Test #5:

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

input:

13
9 8 5 4 3 2 1 13 12 11 10 7 6

output:

SSSSSPSP.

result:

wrong answer the permutation is not sorted