UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#3227#32. SortShedneryan5976ms1948kbC++1.1kb2018-09-10 16:47:032018-09-10 16:47:04

answer


详细

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

Test #1:

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

input:

5
0 0 0 1 1 

output:

-1 -1

result:

ok Correct.

Test #2:

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

input:

5
716816476 646500411 807499637 544792531 128057616 

output:

2 3
4 5
1 5
-1 -1

result:

wrong answer Not sorted.

Test #3:

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

input:

7
0 0 1 0 0 0 0 

output:

4 5
3 5
-1 -1

result:

wrong answer Not sorted.

Test #4:

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

input:

7
685386610 762888212 32009424 450956771 498508039 313999604 331164353 

output:

1 2
1 3
6 7
5 7
2 6
-1 -1

result:

wrong answer Not sorted.

Test #5:

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

input:

10
1 1 0 0 0 0 0 1 1 1 

output:

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

result:

wrong answer Not sorted.

Test #6:

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

input:

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

output:

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

result:

wrong answer Not sorted.

Test #7:

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

input:

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

output:

1500 1645
750 1244
76 375
187 294
93 345
15 46
23 39
11 41
5 6
1 2
1 3
5 8
6 7
6 7
9 10
3 8
17 32
14...

result:

wrong answer Not sorted.

Test #8:

score: 0
Wrong Answer
time: 8ms
memory: 1236kb

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:

2000 3792
1000 1862
500 934
250 491
125 239
62 122
31 51
15 21
7 9
3 4
5 6
2 4
8 9
13 14
5 9
23 30
1...

result:

wrong answer Not sorted.

Test #9:

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

input:

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

output:

2000 3648
1000 1740
500 871
250 278
97 125
62 107
11 31
14 15
2 7
1 3
1 6
5 6
3 4
11 27
8 9
13 17
10...

result:

wrong answer Not sorted.

Test #10:

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

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:

2500 4956
1250 2454
625 1210
312 604
156 297
14 78
39 69
19 65
9 12
4 5
2 3
3 5
14 76
12 13
16 18
17...

result:

wrong answer Not sorted.

Test #11:

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

input:

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

output:

2500 4914
27 1250
226 625
312 1149
156 1193
78 1235
39 1203
8 19
4 9
4 7
1 2
1 3
6 7
5 7
7 8
5 8
3 6...

result:

wrong answer Not sorted.

Test #12:

score: 0
Wrong Answer
time: 4ms
memory: 1252kb

input:

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

output:

1250 2500
1250 1251
1562 2187
1406 2344
1328 2422
1289 2461
1269 2480
1259 2490
1254 2495
1252 2498
...

result:

wrong answer Not sorted.

Test #13:

score: 0
Wrong Answer
time: 11ms
memory: 1332kb

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:

91 5000
47 2500
1250 5000
6 625
312 3135
156 3168
78 3159
39 3166
19 3169
9 3169
4 3169
1 2
1 3
6 31...

result:

wrong answer Not sorted.

Test #14:

score: 0
Wrong Answer
time: 65ms
memory: 1484kb

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:

40 10000
44 5000
2500 5072
1250 5051
14 625
18 312
156 5326
12 78
7 39
3 19
2 9
4 5364
2 5362
6 5359...

result:

wrong answer Too much cost.

Test #15:

score: 0
Wrong Answer
time: 70ms
memory: 1640kb

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:

15000 29963
90 7500
3750 7499
1875 7482
36 937
28 468
234 6655
22 117
58 7081
29 7026
14 6996
1 7
3 ...

result:

wrong answer Too much cost.

Test #16:

score: 0
Wrong Answer
time: 190ms
memory: 1800kb

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:

20000 39860
10000 19873
5000 9823
2500 4871
1250 2400
625 1192
312 566
156 283
78 138
39 65
19 35
9 ...

result:

wrong answer Too much cost.

Test #17:

score: 0
Wrong Answer
time: 285ms
memory: 1944kb

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:

25000 49535
12500 24745
6250 12485
3125 6229
28 1562
21 781
15 390
12 195
97 1173
4 48
7 24
12 1016
...

result:

wrong answer Too much cost.

Test #18:

score: 0
Wrong Answer
time: 38ms
memory: 1640kb

input:

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

output:

15000 17767
10648 11250
10026 10312
10033 10077
10018 10291
10003 10014
10001 10002
10008 10010
1000...

result:

wrong answer Not sorted.

Test #19:

score: 0
Wrong Answer
time: 171ms
memory: 1800kb

input:

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

output:

1070 20000
2910 10000
5000 19146
1011 2500
1250 19368
6 625
294 312
156 555
78 599
39 588
19 625
9 6...

result:

wrong answer Too much cost.

Test #20:

score: 0
Wrong Answer
time: 114ms
memory: 1948kb

input:

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

output:

25000 42712
12500 14854
6065 6250
1067 3125
1562 1745
781 2913
196 390
195 214
97 147
48 70
1 24
7 1...

result:

wrong answer Too much cost.