UOJ Logo

NOI.AC

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#72442#32. SortXieRujian5284ms1512kbC++704b2019-09-07 21:17:282019-09-07 21:17:29

answer


Details

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

Test #1:

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

input:

5
0 0 0 1 1 

output:

4 5
4 5
-1 -1

result:

ok Correct.

Test #2:

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

input:

5
716816476 646500411 807499637 544792531 128057616 

output:

1 2
2 3
1 2
1 3
1 2
-1 -1

result:

wrong answer Not sorted.

Test #3:

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

input:

7
0 0 1 0 0 0 0 

output:

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

result:

wrong answer Not sorted.

Test #5:

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

input:

10
1 1 0 0 0 0 0 1 1 1 

output:

1 2
9 10
8 9
1 2
1 2
1 2
8 9
9 10
-1 -1

result:

wrong answer Not sorted.

Test #6:

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

input:

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

output:

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

result:

wrong answer Not sorted.

Test #7:

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

input:

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

output:

1 2
10 11
10 12
9 10
17 18
23 24
17 20
9 14
28 29
27 28
33 36
41 42
46 47
45 46
41 44
23 26
51 52
50...

result:

wrong answer Not sorted.

Test #8:

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

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:

15 16
26 28
27 32
33 34
43 44
47 48
40 42
49 50
53 54
53 56
61 62
61 63
54 58
47 49
30 33
64 65
68 6...

result:

wrong answer Not sorted.

Test #9:

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

input:

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

output:

6 8
33 34
43 44
42 43
45 46
47 48
45 47
42 45
50 52
58 60
70 71
67 69
73 75
78 79
81 83
84 85
82 84
...

result:

wrong answer Not sorted.

Test #10:

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

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:

8 10
19 20
18 19
23 25
26 27
26 28
24 26
31 32
39 40
18 23
42 43
44 45
42 44
47 48
53 55
62 63
72 73...

result:

wrong answer Not sorted.

Test #11:

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

input:

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

output:

1 2
6 7
18 20
31 32
36 37
41 42
41 43
54 55
61 62
61 63
72 73
75 78
60 61
80 81
80 82
80 84
86 87
92...

result:

wrong answer Not sorted.

Test #12:

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

input:

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

output:

1251 1252
1251 1253
1254 1255
1251 1254
1256 1257
1256 1258
1259 1260
1256 1259
1251 1256
1261 1262
...

result:

wrong answer Not sorted.

Test #13:

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

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:

94 99
112 114
115 116
113 115
98 101
122 123
121 122
125 126
127 128
125 127
149 150
152 153
158 159...

result:

wrong answer Not sorted.

Test #14:

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

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:

41 42
44 45
49 50
51 52
49 51
78 79
75 77
83 84
82 83
98 99
97 98
89 92
103 104
102 103
110 111
110 ...

result:

wrong answer Not sorted.

Test #15:

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

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:

6 8
10 12
11 15
22 23
27 29
22 27
33 34
38 40
46 47
50 51
50 52
49 50
45 46
25 32
75 76
77 78
75 77
...

result:

wrong answer Not sorted.

Test #16:

score: 0
Wrong Answer
time: 34ms
memory: 1316kb

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:

9 10
8 9
19 20
18 19
26 27
26 28
26 30
31 32
38 40
27 31
46 47
46 48
46 50
51 52
47 51
69 70
75 79
8...

result:

wrong answer Not sorted.

Test #17:

score: 0
Wrong Answer
time: 55ms
memory: 1512kb

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 7
11 12
6 10
14 15
14 16
14 18
20 21
23 24
23 25
15 20
26 27
26 28
33 34
36 37
40 42
23 26
54 55
6...

result:

wrong answer Not sorted.

Test #18:

score: 0
Wrong Answer
time: 34ms
memory: 1120kb

input:

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

output:

10001 10002
10005 10006
10005 10007
10004 10005
10008 10009
10010 10011
10008 10010
10012 10013
1000...

result:

wrong answer Not sorted.

Test #19:

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

input:

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

output:

6 7
14 15
13 14
31 32
34 35
39 40
34 38
30 31
44 45
43 44
54 55
57 58
76 77
76 79
70 74
82 84
83 86
...

result:

wrong answer Not sorted.

Test #20:

score: 0
Wrong Answer
time: 46ms
memory: 1504kb

input:

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

output:

5 6
4 5
33 34
36 37
41 42
41 43
54 55
54 56
60 61
60 62
59 60
65 67
72 73
72 74
90 91
90 92
86 89
72...

result:

wrong answer Not sorted.