UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#34084#32. SortKloze85242ms1988kbC++1.5kb2018-10-28 20:11:162018-10-28 20:11:17

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: 5
Accepted
time: 0ms
memory: 1168kb

input:

5
716816476 646500411 807499637 544792531 128057616 

output:

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

result:

ok Correct.

Test #3:

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

input:

7
0 0 1 0 0 0 0 

output:

3 7
-1 -1

result:

ok Correct.

Test #4:

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

input:

7
685386610 762888212 32009424 450956771 498508039 313999604 331164353 

output:

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

result:

ok Correct.

Test #5:

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

input:

10
1 1 0 0 0 0 0 1 1 1 

output:

1 7
-1 -1

result:

ok Correct.

Test #6:

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

input:

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

output:

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

result:

ok Correct.

Test #7:

score: 5
Accepted
time: 5ms
memory: 1252kb

input:

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

output:

120 124
184 188
1063 1067
1179 1183
1210 1214
1231 1235
1288 1292
1324 1328
1405 1409
1548 1552
1785...

result:

ok Correct.

Test #8:

score: 5
Accepted
time: 2ms
memory: 1272kb

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:

5 12
33 39
47 52
61 67
92 98
101 112
117 122
134 149
154 159
174 178
179 183
184 193
197 201
215 220...

result:

ok Correct.

Test #9:

score: 5
Accepted
time: 6ms
memory: 1272kb

input:

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

output:

284 288
328 332
363 367
402 406
725 729
963 967
970 976
1114 1118
1151 1156
1252 1256
1291 1295
1702...

result:

ok Correct.

Test #10:

score: 5
Accepted
time: 2ms
memory: 1284kb

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 7
8 13
18 22
26 30
42 46
53 61
62 67
78 83
93 100
104 108
114 119
120 125
126 130
134 145
146 151
...

result:

ok Correct.

Test #11:

score: 5
Accepted
time: 7ms
memory: 1284kb

input:

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

output:

550 554
578 582
591 595
737 741
773 777
1148 1152
1234 1238
1329 1333
2214 2219
2237 2241
2428 2432
...

result:

ok Correct.

Test #12:

score: 5
Accepted
time: 2ms
memory: 1280kb

input:

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

output:

2500 5000
2499 2500
2497 2499
2498 2499
2492 2497
2493 2497
2482 2492
2483 2492
2462 2482
2463 2482
...

result:

ok Correct.

Test #13:

score: 5
Accepted
time: 3ms
memory: 1364kb

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:

6 10
11 22
46 51
54 58
61 65
74 81
89 93
94 99
125 130
133 137
152 156
157 161
167 171
180 184
185 1...

result:

ok Correct.

Test #14:

score: 5
Accepted
time: 5ms
memory: 1516kb

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:

5 9
22 29
32 39
44 48
49 54
62 66
97 101
102 107
110 114
120 126
131 135
141 146
153 157
161 165
228...

result:

ok Correct.

Test #15:

score: 5
Accepted
time: 8ms
memory: 1672kb

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:

13 18
22 26
49 54
75 80
89 95
96 103
112 116
120 125
130 135
148 153
179 186
195 201
202 207
213 218...

result:

ok Correct.

Test #16:

score: 5
Accepted
time: 13ms
memory: 1828kb

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:

8 14
18 23
26 30
31 35
38 42
46 50
51 66
69 74
75 79
84 88
93 101
108 112
126 130
135 140
164 168
16...

result:

ok Correct.

Test #17:

score: 5
Accepted
time: 16ms
memory: 1984kb

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:

6 10
14 18
23 29
63 67
68 79
80 85
90 94
95 102
103 109
121 125
126 132
135 139
161 167
172 177
178 ...

result:

ok Correct.

Test #18:

score: 0
Wrong Answer
time: 33ms
memory: 1676kb

input:

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

output:

1 10000
10124 10128
10203 10207
10278 10282
10408 10412
10457 10461
10504 10508
10953 10957
11121 11...

result:

wrong answer Too much cost.

Test #19:

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

input:

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

output:

248 252
391 395
496 500
571 575
811 815
1034 1038
1040 1045
1112 1117
1378 1382
1446 1450
1484 1488
...

result:

wrong answer Too much cost.

Test #20:

score: 0
Wrong Answer
time: 75ms
memory: 1988kb

input:

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

output:

54 58
226 230
325 329
412 417
551 555
580 584
750 754
803 807
965 969
1041 1045
1226 1230
2104 2109
...

result:

wrong answer Too much cost.