UOJ Logo

NOI.AC

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#2363#32. Sortxuqin55293ms704kbC++809b2018-09-08 18:54:212018-09-08 18:54:21

answer


Details

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

Test #1:

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

input:

5
0 0 0 1 1 

output:

-1 -1

result:

ok Correct.

Test #2:

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

input:

5
716816476 646500411 807499637 544792531 128057616 

output:

3 4
3 4
3 4
-1 -1

result:

wrong answer Not sorted.

Test #3:

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

input:

7
0 0 1 0 0 0 0 

output:

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

result:

wrong answer Not sorted.

Test #4:

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

input:

7
685386610 762888212 32009424 450956771 498508039 313999604 331164353 

output:

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

result:

wrong answer Not sorted.

Test #5:

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

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
3 6
5 6
4 6
2 6
3 6
2 9
2 9
-1 -1

result:

wrong answer Not sorted.

Test #6:

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

input:

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

output:

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

result:

wrong answer Not sorted.

Test #7:

score: 0
Wrong Answer
time: 13ms
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 16
10 14
10 16
10 17
10 15
20 22
21 22
10 22
14 26
15 26
29 30
15 29...

result:

wrong answer Not sorted.

Test #8:

score: 0
Wrong Answer
time: 30ms
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 4
4 12
8 10
7 10
5 10
11 14
12 15
12 14
9 11
19 22
19 21
22 25
21 23
24 25
24 28
25 26
25 32
28 31...

result:

wrong answer Too much cost.

Test #9:

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

input:

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

output:

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

result:

wrong answer Not sorted.

Test #10:

score: 0
Wrong Answer
time: 18ms
memory: 536kb

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 4999
3 4999
5 4999
4 4999
7 4999
8 4999
10 4999
9 4999
6 4999
12 4999
13 4999
15 4999
14 4999
17 4...

result:

wrong answer Not sorted.

Test #11:

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

input:

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

output:

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

result:

wrong answer Not sorted.

Test #12:

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

input:

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

output:

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

result:

wrong answer Not sorted.

Test #13:

score: 0
Wrong Answer
time: 174ms
memory: 552kb

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 9999
3 9999
5 9999
4 9999
7 9999
8 9999
10 9999
9 9999
6 9999
12 9999
13 9999
15 9999
14 9999
17 9...

result:

wrong answer Too much cost.

Test #14:

score: 0
Wrong Answer
time: 253ms
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 19999
3 19999
5 19999
4 19999
7 19999
8 19999
10 19999
9 19999
6 19999
12 19999
13 19999
15 19999
...

result:

wrong answer Too much cost.

Test #15:

score: 0
Wrong Answer
time: 1247ms
memory: 636kb

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 29999
4 29999
3 29999
6 29999
8 29999
7 29999
5 29999
10 29999
12 29999
11 29999
14 29999
15 29999...

result:

wrong answer Too much cost.

Test #16:

score: 0
Wrong Answer
time: 1005ms
memory: 676kb

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 39999
3 39999
5 39999
4 39999
7 39999
8 39999
10 39999
9 39999
6 39999
12 39999
13 39999
15 39999
...

result:

wrong answer Too much cost.

Test #17:

score: 0
Time Limit Exceeded

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 49999
4 49999
3 49999
6 49999
7 49999
5 49999
9 49999
10 49999
12 49999
13 49999
11 49999
8 49999
...

result:


Test #18:

score: 0
Wrong Answer
time: 467ms
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: 1098ms
memory: 672kb

input:

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

output:

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

result:

wrong answer Too much cost.

Test #20:

score: 0
Wrong Answer
time: 903ms
memory: 704kb

input:

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

output:

2 10
4 10
3 10
6 10
7 10
5 10
9 10
11 12
8 11
15 18
16 18
17 18
21 29
24 28
25 28
23 28
19 28
12 27
...

result:

wrong answer Too much cost.