UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#47533#32. Sortdaniel143115312596ms2048kbC++2.4kb2019-02-25 13:20:322019-02-25 13:20:34

answer


详细

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

Test #1:

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

input:

5
0 0 0 1 1 

output:

-1 -1

result:

ok Correct.

Test #2:

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

input:

5
716816476 646500411 807499637 544792531 128057616 

output:

2 3
1 5
4 5
-1 -1

result:

ok Correct.

Test #3:

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

input:

7
0 0 1 0 0 0 0 

output:

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

result:

ok Correct.

Test #4:

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

input:

7
685386610 762888212 32009424 450956771 498508039 313999604 331164353 

output:

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

result:

ok Correct.

Test #5:

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

input:

10
1 1 0 0 0 0 0 1 1 1 

output:

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

result:

ok Correct.

Test #6:

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

input:

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

output:

1 5
1 3
2 10
1 2
-1 -1

result:

wrong answer Not sorted.

Test #7:

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

input:

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

output:

1500 1645
1 3
2 8
12 16
18 22
13 20
4 19
24 26
29 32
25 31
41 44
39 41
26 40
5 39
47 49
52 55
48 54
...

result:

wrong answer Not sorted.

Test #8:

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

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:

1181 2000
26 30
16 28
2 20
33 37
36 42
47 52
55 60
49 59
37 53
5 51
63 67
71 75
65 74
86 91
79 86
66...

result:

wrong answer Not sorted.

Test #9:

score: 0
Wrong Answer
time: 5ms
memory: 1344kb

input:

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

output:

2000 3648
10 14
4 13
28 30
26 29
19 28
6 27
33 37
34 41
47 49
51 53
48 52
59 61
56 60
50 59
35 54
9 ...

result:

wrong answer Not sorted.

Test #10:

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

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:

1409 2500
2 7
7 17
20 22
21 25
35 38
31 37
22 35
10 28
44 46
40 44
54 57
51 56
41 55
62 67
70 77
66 ...

result:

wrong answer Not sorted.

Test #11:

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

input:

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

output:

2500 4914
1 3
2 8
10 13
13 17
3 15
31 38
4 36
41 47
54 57
42 55
60 66
72 77
61 75
49 74
7 70
83 85
7...

result:

wrong answer Not sorted.

Test #12:

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

input:

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

output:

1250 2500
2501 5000
1250 3750
625 1250
1251 2499
625 1875
625 937
626 1249
313 937
156 312
313 624
1...

result:

wrong answer Not sorted.

Test #13:

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

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:

5000 9826
1 3
2 8
11 18
4 17
25 27
23 26
30 33
31 36
26 35
13 31
40 42
42 45
43 53
59 65
74 77
70 76...

result:

wrong answer Not sorted.

Test #14:

score: 0
Wrong Answer
time: 19ms
memory: 1752kb

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:

10000 14117
10 13
15 17
11 15
2 11
20 28
35 38
30 37
24 36
5 33
44 47
40 45
49 57
43 53
59 61
61 66
...

result:

wrong answer Not sorted.

Test #15:

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

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:

3724 15000
1 5
2 12
22 26
19 23
3 22
33 35
30 33
38 42
32 40
45 48
51 53
52 56
46 54
33 49
12 48
59 ...

result:

wrong answer Not sorted.

Test #16:

score: 0
Runtime Error

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:


result:


Test #17:

score: 0
Runtime Error

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:


result:


Test #18:

score: 0
Wrong Answer
time: 30ms
memory: 2048kb

input:

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

output:

15000 17767
10011 10016
10004 10013
10001 10006
10020 10023
10027 10030
10021 10027
10040 10045
1003...

result:

wrong answer Not sorted.

Test #19:

score: 0
Runtime Error

input:

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

output:


result:


Test #20:

score: 0
Runtime Error

input:

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

output:


result: