UOJ Logo

NOI.AC

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#11429#32. SortTRUE_ZBY574ms1112kbC++754b2018-09-23 14:17:402018-09-23 14:17:42

answer


Details

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

Test #1:

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

input:

5
0 0 0 1 1 

output:

4 5
-1 -1

result:

ok Correct.

Test #2:

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

input:

5
716816476 646500411 807499637 544792531 128057616 

output:

3 5
1 3
-1 -1

result:

wrong answer Not sorted.

Test #3:

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

input:

7
0 0 1 0 0 0 0 

output:

-1 -1

result:

wrong answer Not sorted.

Test #4:

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

input:

7
685386610 762888212 32009424 450956771 498508039 313999604 331164353 

output:

1 3
-1 -1

result:

wrong answer Not sorted.

Test #5:

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

input:

10
1 1 0 0 0 0 0 1 1 1 

output:

6 9
4 5
2 3
1 2
9 10
-1 -1

result:

wrong answer Not sorted.

Test #6:

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

input:

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

output:

4 7
1 2
-1 -1

result:

wrong answer Not sorted.

Test #7:

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

input:

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

output:

750 751
369 375
159 188
61 94
1 47
1 24
1 12
1 6
1 3
1 2
4 5
7 9
7 8
10 11
13 18
13 15
13 14
16 17
1...

result:

wrong answer Not sorted.

Test #8:

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

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:

2001 3792
1001 1864
501 936
251 495
126 239
64 125
33 55
17 23
9 10
5 6
7 8
13 16
11 12
15 16
25 32
...

result:

wrong answer Not sorted.

Test #9:

score: 0
Wrong Answer
time: 2ms
memory: 580kb

input:

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

output:

1999 2000
999 1000
235 250
21 125
1 63
1 32
1 16
1 8
1 4
1 2
5 6
9 12
9 10
13 14
17 24
17 20
17 18
2...

result:

wrong answer Not sorted.

Test #10:

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

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:

2501 4957
1251 2455
626 1211
314 606
158 298
80 146
41 73
21 36
11 14
9 10
16 20
14 15
19 20
31 40
2...

result:

wrong answer Not sorted.

Test #11:

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

input:

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

output:

2500 2502
615 625
309 313
123 157
1 79
1 40
1 20
1 10
1 5
1 3
1 2
6 8
6 7
11 15
11 13
11 12
16 18
16...

result:

wrong answer Not sorted.

Test #12:

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

input:

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

output:

1251 2500
626 1250
313 625
157 313
79 157
40 79
21 40
11 20
6 10
3 5
2 3
6 8
6 7
11 15
11 13
11 12
1...

result:

wrong answer Not sorted.

Test #13:

score: 0
Wrong Answer
time: 2ms
memory: 648kb

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:

5001 9909
2501 4956
1251 2476
626 1213
314 600
158 305
80 145
41 74
21 30
11 15
6 9
2 3
1 2
9 10
16 ...

result:

wrong answer Not sorted.

Test #14:

score: 0
Wrong Answer
time: 3ms
memory: 764kb

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:

10001 19946
5001 9950
2501 4969
1251 2453
626 1199
314 617
158 303
80 147
41 75
21 32
11 13
9 10
16 ...

result:

wrong answer Not sorted.

Test #15:

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

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:

15001 29965
7501 14885
3751 7499
1876 3706
939 1831
470 892
236 449
119 219
60 108
31 54
16 28
9 15
...

result:

wrong answer Not sorted.

Test #16:

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

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:

20001 39860
10001 19874
5001 9823
2501 4871
1251 2401
626 1192
314 570
158 284
80 139
41 67
21 39
11...

result:

wrong answer Not sorted.

Test #17:

score: 0
Wrong Answer
time: 9ms
memory: 1104kb

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:

25001 49535
12501 24745
6251 12488
3126 6229
1564 3078
783 1531
392 752
197 390
99 171
50 89
26 36
1...

result:

wrong answer Not sorted.

Test #18:

score: 0
Wrong Answer
time: 7ms
memory: 884kb

input:

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

output:

15001 15005
11251 11252
10078 10079
10006 10007
10001 10004
10010 10011
10008 10009
10012 10014
1001...

result:

wrong answer Not sorted.

Test #19:

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

input:

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

output:

9999 10002
4998 5000
2498 2500
1236 1250
612 625
184 313
1 157
1 79
1 40
1 20
1 10
1 5
1 3
1 2
6 8
6...

result:

wrong answer Not sorted.

Test #20:

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

input:

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

output:

6245 6250
3095 3125
1557 1563
767 782
367 391
153 196
1 98
1 49
1 25
1 13
1 7
1 4
1 2
5 6
8 10
8 9
1...

result:

wrong answer Not sorted.