QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#312830#4831. Eager Sortingahihi12340 1ms3816kbC++142.8kb2024-01-24 13:40:272024-01-24 13:40:28

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

Interactor to First Run

5
0
1
0
1
1
0
0
0
-1

First Run to Interactor

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

Interactor to Second Run

5
0
0
1
0
0
0

Second Run to Interactor

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

Manager to Checker

OK
good job!

result:

ok OK

Test #2:

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

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: 3616kb

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: 3624kb

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

Interactor to First Run

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

First Run to Interactor

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

Interactor to Second Run

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

Second Run to Interactor

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

Manager to Checker

OK
good job!

result:

ok OK

Test #6:

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

Interactor to First Run

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

First Run to Interactor

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

Interactor to Second Run

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

Second Run to Interactor

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

Manager to Checker

OK
good job!

result:

ok OK

Test #7:

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

Interactor to First Run

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

First Run to Interactor

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

Interactor to Second Run

6
0
0
1
0
0
0
0

Second Run to Interactor

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

Manager to Checker

OK
good job!

result:

ok OK

Test #8:

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

Interactor to First Run

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

First Run to Interactor

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

Interactor to Second Run

20
0
0
0
1
0
0
1
0
1
0
0
1
0
1
1
1
1
0
0
0
0
0
0
1
0
0
1
0
0
0
1
1
0
0
0
0
1
0
0
0
1
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
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
3 4
4 5
5 6
6 7
7 8
8 9
9 10
10 11
11 12
12 13
13 14
14 15
15 16
16 17
17 18
18 19
19 20
1 4
2 4
3 4
7 9
8 9
8 9
9 8
12 14
12 14
13 12
13 12
14 13
15 16
15 16
16 15
1 7
2 7
3 7
3 7
4 3
4 3
4 8
5 8
8 4
6 4
8 9
7 8
6 9
8 6
12 15
13 15
14 15
1 12
2 12
3 12
4 12
5 12
6 12
7 12
8 12
9 12
10 12
10...

Manager to Checker

WA
array is not sorted!

result:

wrong answer WA