UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#2362#32. Sortxuqin54842ms708kbC++809b2018-09-08 18:53:162018-09-08 18:53:17

answer


详细

小提示:点击横条可展开更详细的信息

Test #1:

score: 5
Accepted
time: 0ms
memory: 504kb

input:

5
0 0 0 1 1 

output:

-1 -1

result:

ok Correct.

Test #2:

score: 0
Wrong Answer
time: 0ms
memory: 512kb

input:

5
716816476 646500411 807499637 544792531 128057616 

output:

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

result:

wrong answer Not sorted.

Test #3:

score: 0
Wrong Answer
time: 0ms
memory: 520kb

input:

7
0 0 1 0 0 0 0 

output:

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

result:

wrong answer Not sorted.

Test #4:

score: 0
Wrong Answer
time: 0ms
memory: 516kb

input:

7
685386610 762888212 32009424 450956771 498508039 313999604 331164353 

output:

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

result:

wrong answer Not sorted.

Test #5:

score: 0
Wrong Answer
time: 0ms
memory: 516kb

input:

10
1 1 0 0 0 0 0 1 1 1 

output:

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

result:

wrong answer Not sorted.

Test #6:

score: 0
Wrong Answer
time: 0ms
memory: 508kb

input:

10
552474873 603523889 451688250 856980678 746716186 316583031 509750159 895158422 895128023 2769912...

output:

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

result:

wrong answer Not sorted.

Test #7:

score: 0
Wrong Answer
time: 10ms
memory: 524kb

input:

3000
774135042 955379290 425485912 951649655 435211761 517813461 22865164 126834432 859390051 751505...

output:

2 3
3 8
4 6
7 8
7 10
7 11
7 9
7 14
8 14
8 16
9 20
10 20
10 22
11 18
11 12
11 26
12 26
29 30
12 29
14...

result:

wrong answer Not sorted.

Test #8:

score: 0
Wrong Answer
time: 17ms
memory: 528kb

input:

4000
0 1 0 0 1 0 0 0 0 0 0 0 1 0 1 1 0 0 1 0 0 0 1 0 0 1 1 0 1 0 0 0 1 1 0 0 0 0 0 1 1 0 1 1 0 0 1 1...

output:

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

result:

wrong answer Not sorted.

Test #9:

score: 0
Wrong Answer
time: 15ms
memory: 524kb

input:

4000
253876655 192406499 33773493 714588720 62247300 512617285 830025704 158991275 146203174 6211898...

output:

2 3
6 7
3 5
4 9
4 11
4 10
4 13
4 15
4 14
4 12
4 8
4 17
4 20
5 18
5 21
5 23
5 22
5 20
5 25
5 27
5 26
...

result:

wrong answer Not sorted.

Test #10:

score: 0
Wrong Answer
time: 42ms
memory: 532kb

input:

5000
0 1 0 0 0 0 0 1 1 0 0 0 0 1 0 0 0 1 1 1 1 0 1 1 0 1 1 1 0 0 1 1 0 0 1 0 0 0 1 1 0 1 1 1 1 0 1 1...

output:

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

result:

wrong answer Too much cost.

Test #11:

score: 0
Wrong Answer
time: 24ms
memory: 532kb

input:

5000
576963277 817862335 430151834 505200145 307373684 896252967 779450344 424741325 188693368 71249...

output:

2 5
3 6
3 7
3 9
4 5
12 13
14 17
15 17
15 19
15 18
4 14
22 23
24 26
24 25
26 30
26 28
29 31
29 32
29 ...

result:

wrong answer Not sorted.

Test #12:

score: 0
Wrong Answer
time: 28ms
memory: 528kb

input:

5000
296887 701139 1259018 1624742 1747738 2354948 2616510 2777173 3193517 3454408 3801911 4078104 4...

output:

2 2381
3 2381
5 2381
4 2381
7 2381
8 2381
10 2381
9 2381
6 2381
12 2381
13 2381
15 2381
14 2381
17 2...

result:

wrong answer Not sorted.

Test #13:

score: 0
Wrong Answer
time: 10ms
memory: 556kb

input:

10000
1 1 0 1 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 1 1 1 0 1 0 1 1 0 1 1 0 1 0 0 0 1 0 1 1 ...

output:

2 3
3 5
4 10
8 9
6 7
8 22
13 18
15 18
14 18
17 18
16 18
11 18
19 21
19 22
19 24
28 29
20 27
32 33
33...

result:

wrong answer Not sorted.

Test #14:

score: 0
Wrong Answer
time: 327ms
memory: 592kb

input:

20000
0 1 1 0 1 1 1 1 0 1 1 1 0 1 1 1 0 1 0 1 0 1 1 1 0 0 0 0 0 1 0 1 1 1 1 0 0 0 0 1 1 1 0 1 1 0 0 ...

output:

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

result:

wrong answer Too much cost.

Test #15:

score: 0
Wrong Answer
time: 809ms
memory: 632kb

input:

30000
1 0 0 1 0 1 1 0 0 1 1 0 1 0 0 0 0 0 1 0 0 1 1 1 0 0 1 1 0 1 1 0 1 1 0 1 0 1 1 0 1 0 1 0 1 1 1 ...

output:

2 3
6 9
4 7
7 9
7 12
8 10
8 18
13 14
9 12
13 16
13 18
13 17
13 21
15 26
17 26
17 25
17 29
18 29
18 2...

result:

wrong answer Too much cost.

Test #16:

score: 0
Wrong Answer
time: 356ms
memory: 672kb

input:

40000
0 1 0 0 0 1 0 1 1 1 0 0 0 0 1 0 0 1 1 1 0 0 0 1 0 1 1 1 1 0 1 1 0 0 0 1 0 1 1 0 0 0 1 0 0 1 1 ...

output:

2 5
5 7
6 7
6 9
6 8
12 14
13 14
18 19
15 17
6 16
22 23
24 25
25 26
25 27
25 30
26 28
26 31
26 35
29 ...

result:

wrong answer Too much cost.

Test #17:

score: 0
Wrong Answer
time: 146ms
memory: 708kb

input:

50000
0 1 0 1 0 1 1 1 0 0 1 1 0 1 1 1 1 0 1 1 1 0 1 1 1 1 1 1 0 1 0 0 1 1 0 1 1 0 0 1 1 0 1 0 0 1 0 ...

output:

2 3
3 5
4 10
6 9
6 11
6 13
7 10
7 14
7 15
7 18
8 18
8 16
8 20
8 22
9 23
9 24
9 22
9 19
9 13
9 26
9 2...

result:

wrong answer Too much cost.

Test #18:

score: 0
Wrong Answer
time: 1122ms
memory: 628kb

input:

30000
23333 23333 23333 23333 23333 23333 23333 23333 23333 23333 23333 23333 23333 23333 23333 2333...

output:

2 10000
4 10000
3 10000
6 10000
8 10000
7 10000
5 10000
10 10000
12 10000
11 10000
14 10000
15 10000...

result:

wrong answer Too much cost.

Test #19:

score: 0
Wrong Answer
time: 1420ms
memory: 668kb

input:

40000
45713484 162270600 502896796 450460958 129500884 513441781 557737624 340152311 679444775 35445...

output:

3 5
4 6
4 7
4 9
4 8
4 5
4 12
5 12
5 14
5 13
17 18
18 20
5 18
8 10
8 23
10 22
10 24
10 23
27 28
28 29...

result:

wrong answer Too much cost.

Test #20:

score: 0
Wrong Answer
time: 516ms
memory: 708kb

input:

50000
455891075 705915927 189674482 578895411 789714247 658466934 483470291 469989305 544838975 2828...

output:

2 3
3 5
3 6
3 4
3 8
3 10
4 12
5 12
5 10
5 7
16 18
21 22
22 24
23 24
18 22
5 20
12 26
12 29
14 29
14 ...

result:

wrong answer Too much cost.