QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#295195#4831. Eager Sortingucup-team121#0 1ms3724kbC++202.1kb2023-12-30 20:52:412023-12-30 20:52:41

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

Interactor to First Run

5
0
0
1
0
0
0
0
1
-1

First Run to Interactor

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

Interactor to Second Run

5
0
0
0
1
0
0
0
0
1

Second Run to Interactor

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

Manager to Checker

OK
good job!

result:

ok OK

Test #2:

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

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: 1ms
memory: 3564kb

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: 1ms
memory: 3724kb

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: 0ms
memory: 3584kb

Interactor to First Run

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

First Run to Interactor

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

Interactor to Second Run

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

Second Run to Interactor

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

Manager to Checker

OK
good job!

result:

ok OK

Test #6:

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

Interactor to First Run

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

First Run to Interactor

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

Interactor to Second Run

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

Second Run to Interactor

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

Manager to Checker

OK
good job!

result:

ok OK

Test #7:

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

Interactor to First Run

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

First Run to Interactor

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

Interactor to Second Run

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

Second Run to Interactor

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

Manager to Checker

OK
good job!

result:

ok OK

Test #8:

score: 0
Wrong Answer
time: 1ms
memory: 3584kb

Interactor to First Run

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

First Run to Interactor

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

Interactor to Second Run

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

Second Run to Interactor

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

Manager to Checker

WA
array is not sorted!

result:

wrong answer WA