QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#296032#4831. Eager Sortingucup-team572#0 11ms8268kbPython3739b2024-01-01 23:12:062024-01-01 23:12:07

詳細信息

Test #1:

score: 100
Accepted
time: 7ms
memory: 8228kb

Interactor to First Run

5
0
1
1
0
0
1
0
1
-1

First Run to Interactor

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

Interactor to Second Run

5
0
0
0
0
0
0

Second Run to Interactor

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

Manager to Checker

OK
good job!

result:

ok OK

Test #2:

score: 100
Accepted
time: 10ms
memory: 8268kb

Interactor to First Run

1

First Run to Interactor

-1 -1

Interactor to Second Run

1

Second Run to Interactor

-1 -1

Manager to Checker

OK
good job!

result:

ok OK

Test #3:

score: 100
Accepted
time: 10ms
memory: 8144kb

Interactor to First Run

2
0

First Run to Interactor

1 2
-1 -1

Interactor to Second Run

2
0

Second Run to Interactor

1 2
-1 -1

Manager to Checker

OK
good job!

result:

ok OK

Test #4:

score: 100
Accepted
time: 11ms
memory: 8160kb

Interactor to First Run

2
1

First Run to Interactor

1 2
-1 -1

Interactor to Second Run

2
0
-1

Second Run to Interactor

1 2
-1 -1

Manager to Checker

OK
good job!

result:

ok OK

Test #5:

score: 100
Accepted
time: 11ms
memory: 8208kb

Interactor to First Run

9
1
0
0
0
0
1
1
1
1
0
0
0
1
0
0
1
0
1
1
1
1

First Run to Interactor

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

Interactor to Second Run

9
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

Second Run to Interactor

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

Manager to Checker

OK
good job!

result:

ok OK

Test #6:

score: 100
Accepted
time: 10ms
memory: 8136kb

Interactor to First Run

9
0
1
1
1
1
1
0
0
1
1
0
1
0
0
0
0
0
1
1
1
0
1

First Run to Interactor

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

Interactor to Second Run

9
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0

Second Run to Interactor

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

Manager to Checker

OK
good job!

result:

ok OK

Test #7:

score: 100
Accepted
time: 11ms
memory: 8228kb

Interactor to First Run

6
1
0
1
1
1
0
1
1
0
1
1

First Run to Interactor

1 2
2 3
2 4
1 2
4 5
2 4
4 6
2 4
1 2
3 4
4 6
-1 -1

Interactor to Second Run

6
0
0
0
0
0
0
0
0

Second Run to Interactor

1 2
2 3
2 4
3 4
3 5
4 5
3 6
5 6
-1 -1

Manager to Checker

OK
good job!

result:

ok OK

Test #8:

score: 100
Accepted
time: 11ms
memory: 8268kb

Interactor to First Run

20
1
1
0
1
1
1
1
0
0
0
1
0
1
1
0
1
0
0
1
0
1
1
0
1
0
1
0
0
0
1
0
1
0
0
0
1
0
0
1
0
0
1
1
1
1
0
1
1
1
1
1
0
0
0
0
1
1
0
0
1
0
1
1
1
1
0
1
1
1
1
1
1
1
0
1
1
1

First Run to Interactor

1 2
2 3
1 2
2 4
1 2
4 5
2 4
1 2
4 6
3 6
5 7
2 5
4 5
5 8
2 5
4 5
8 9
3 9
6 9
8 10
6 10
3 6
7 3
7 11
4 7
8 7
5 8
7 12
6 12
9 12
10 9
11 13
5 11
7 11
11 14
10 14
3 10
6 10
13 15
5 13
7 13
11 13
13 16
5 13
2 5
1 2
16 17
13 16
5 13
2 5
1 2
11 18
10 18
9 18
12 18
17 19
4 17
5 4
13 4
11 20
4 11
8 11
16 8
1...

Interactor to Second Run

20
0
0
1
1
0
0
0
0
0
1
0
0
0
1
0
0
0
0
1
0
0
0
1
0
0
1
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
1
1

Second Run to Interactor

1 2
2 3
2 4
1 2
4 5
3 5
4 6
5 6
3 7
6 7
5 6
3 8
6 8
7 8
5 9
7 9
8 9
5 10
8 10
7 8
6 11
10 11
9 11
6 12
10 12
11 12
9 11
7 13
9 13
12 13
11 12
7 14
11 14
13 14
8 15
12 15
14 15
8 16
12 16
14 16
15 16
10 17
13 17
15 17
16 17
10 18
14 18
16 18
15 16
9 19
15 19
18 19
17 19
9 20
15 20
17 20
19 20
3 4
9 1...

Manager to Checker

OK
good job!

result:

ok OK

Test #9:

score: 100
Accepted
time: 6ms
memory: 8148kb

Interactor to First Run

15
0
0
0
0
1
1
0
0
1
1
1
0
0
0
0
1
1
0
0
0
0
1
0
0
0
0
1
0
0
1
1
1
1
0
0
1
1
0
0
1
0
0
0
1
1
1
1
1

First Run to Interactor

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

Interactor to Second Run

15
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1

Second Run to Interactor

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

Manager to Checker

OK
good job!

result:

ok OK

Test #10:

score: 100
Accepted
time: 8ms
memory: 8232kb

Interactor to First Run

20
0
1
1
1
0
1
1
0
1
0
1
1
0
1
1
0
1
1
0
1
1
1
1
0
1
0
1
0
1
1
0
0
1
0
1
0
1
1
0
1
1
1
0
0
0
0
0
0
0
1
0
0
1
1
1
1
0
0
1
0
0
0
1
1
1
1
1
1
0
1
1
0
0
1
1
1
1

First Run to Interactor

1 2
2 3
1 2
2 4
1 2
4 5
2 4
1 2
4 6
2 4
6 7
2 6
1 2
4 8
2 4
1 2
8 9
4 8
2 4
6 10
4 6
2 4
1 2
10 11
5 11
7 5
10 12
4 10
8 10
6 8
12 13
5 13
3 13
11 3
12 14
6 12
10 12
8 10
14 15
11 15
7 11
9 7
14 16
5 16
3 16
13 16
9 17
15 17
13 17
16 17
9 18
3 18
16 18
13 16
7 19
8 7
4 8
6 8
9 20
8 9
12 9
14 9
3 4
4...

Interactor to Second Run

20
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
1
0
0
0
0
0
1
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1

Second Run to Interactor

1 2
2 3
2 4
3 4
3 5
4 5
3 6
5 6
4 5
4 7
6 7
4 8
6 8
7 8
5 9
7 9
8 9
5 10
8 10
9 10
6 11
9 11
10 11
6 12
9 12
11 12
10 11
7 13
10 13
12 13
7 14
11 14
13 14
12 13
8 15
12 15
14 15
8 16
12 16
14 16
13 14
9 17
13 17
16 17
15 17
9 18
14 18
15 18
17 18
10 19
16 19
17 19
18 19
10 20
16 20
18 20
19 20
15 16...

Manager to Checker

OK
good job!

result:

ok OK

Test #11:

score: 0
Wrong Answer
time: 11ms
memory: 8268kb

Interactor to First Run

27
1
1
0
0
0
1
1
0
1
1
1
0
1
1
1
0
1
0
0
1
1
1
0
1
1
1
1
0
0
0
1
1
0
1
0
1
0
0
1
1
0
1
1
1
0
0
1
1
1
1
1
0
0
1
0
1
1
0
0
1
1
0
0
0
0
0
1
1
-1

First Run to Interactor

1 2
2 3
1 2
2 4
3 4
3 5
2 3
1 2
3 6
2 3
1 2
6 7
4 7
5 4
6 8
2 6
3 6
8 9
4 9
7 9
8 10
3 8
2 3
10 11
3 10
2 3
1 2
6 12
4 12
9 12
11 13
10 11
2 10
3 10
6 14
7 14
5 7
4 7
13 15
10 13
2 10
3 10
6 16
10 6
2 10
3 10
16 17
6 16
3 6
2 3
1 2
8 18
7 18
9 18
14 9
17 19
10 17
3 10
6 10
8 20
10 8
3 10
6 10
20 21
...

Interactor to Second Run

27
0
0
0
0
0
0
0
1
1
0
0
0
1
1
0
0
0
0
1
0
1
0
0
0
0
0
1
0
1
1
0
0
1
0
1
0
0
0
1
0
1
1
1
0
0
1
0
0
0
1
1
0
0
0
1
1
0
1
0
0
0
0
1
0
0
0
0
0
1
0
0
1
1
0
1
1
1
0
0
1
1
1
1
1
1
0
1
0
0
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
1
1

Second Run to Interactor

1 2
2 3
2 4
3 4
3 5
4 5
3 6
5 6
4 5
4 7
6 7
4 8
6 8
5 6
5 9
8 9
7 9
5 10
7 10
8 7
6 11
3 6
5 6
6 12
7 12
9 12
11 13
4 11
6 11
5 6
11 14
10 14
12 14
9 12
13 15
4 13
6 13
11 13
13 16
4 13
6 13
5 6
16 17
5 16
13 16
11 16
16 18
10 18
12 18
14 18
17 19
5 17
11 17
16 17
17 20
5 17
3 5
4 5
20 21
10 21
14 2...

Manager to Checker

WA
array is not sorted!

result:

wrong answer WA