QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#524651#2193. Cactus Revengeahihi1234WA 0ms3864kbC++142.5kb2024-08-19 22:22:592024-08-19 22:22:59

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

5
2 2 3 2 1

output:

5
2 1 2
2 1 4
2 2 3
2 3 5
2 3 4

result:

ok ok, n = 5

Test #2:

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

input:

4
3 3 2 2

output:

-1

result:

ok ok, n = 4

Test #3:

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

input:

6
1 2 1 1 2 1

output:

-1

result:

ok ok, n = 6

Test #4:

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

input:

15
1 4 3 2 2 2 2 2 4 4 2 2 2 2 2

output:

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

result:

ok ok, n = 15

Test #5:

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

input:

2
1 1

output:

1

result:

wrong output format Unexpected end of file - int32 expected