QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#504528#1646. Disk SortZhaoZiLongWA 0ms3820kbC++204.2kb2024-08-04 13:41:262024-08-04 13:41:27

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

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

result:

ok n=4

Test #2:

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

input:

2
1 2
1 2
1 2

output:

9
1 3
1 3
1 3
2 1
2 1
2 1
3 2
3 2
3 2

result:

ok n=2

Test #3:

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

input:

3
2 2 1
1 3 3
1 2 3

output:

16
3 4
1 3
1 4
1 4
2 1
3 1
2 2
2 3
2 1
2 2
3 2
3 2
3 2
4 3
4 3
4 3

result:

wrong answer Invalid move #6