UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#2452#32. Sortgzy521151371ms712kbC++965b2018-09-08 20:25:352018-09-08 20:25:35

answer


详细

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

Test #1:

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

input:

5
0 0 0 1 1 

output:

-1 -1

result:

ok Correct.

Test #2:

score: 0
Runtime Error

input:

5
716816476 646500411 807499637 544792531 128057616 

output:


result:


Test #3:

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

input:

7
0 0 1 0 0 0 0 

output:

3 50009
3 50008
6 50008
7 50008
5 50008
-1 -1

result:

wrong answer Invalid interval.

Test #4:

score: 0
Runtime Error

input:

7
685386610 762888212 32009424 450956771 498508039 313999604 331164353 

output:


result:


Test #5:

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

input:

10
1 1 0 0 0 0 0 1 1 1 

output:

1 7
4 5
6 7
6 9
6 8
-1 -1

result:

ok Correct.

Test #6:

score: 0
Runtime Error

input:

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

output:


result:


Test #7:

score: 0
Runtime Error

input:

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

output:

2 3
3 8
4 6
7 8
11 12
7 11
7 8
9 17
13 14
13 16
13 17
13 15
20 23
21 23
22 23
13 23
13 17
18 28
21 2...

result:


Test #8:

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

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:

2 4
4 12
8 10
7 10
5 10
11 14
12 15
12 14
9 11
19 22
19 21
22 25
21 23
24 25
24 28
25 26
25 32
28 31...

result:

wrong answer Invalid interval.

Test #9:

score: 0
Runtime Error

input:

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

output:

1 3
6 9
2 7
5 9
5 12
6 10
6 13
6 15
6 14
6 12
6 8
6 17
6 21
8 18
8 21
8 24
9 22
9 20
9 25
9 27
9 26
...

result:


Test #10:

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

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
5 6
4 6
7 13
9 10
6 10
11 12
11 17
14 16
14 17
14 19
14 18
14 15
11 13
14 22
15 22
15 25
16 23
1...

result:

wrong answer Invalid interval.

Test #11:

score: 0
Runtime Error

input:

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

output:

1 5
4 6
4 9
6 9
6 8
12 13
14 17
14 16
17 30
19 27
16 27
6 27
23 24
23 26
23 27
23 29
23 28
23 25
23 ...

result:


Test #12:

score: 0
Runtime Error

input:

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

output:

2 616
3 616
5 616
4 616
7 616
8 616
10 616
9 616
6 616
12 616
13 616
15 616
14 616
17 616
18 616
20 ...

result:


Test #13:

score: 5
Accepted
time: 10ms
memory: 556kb

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:

1 3
2 5
3 10
7 9
7 8
7 22
13 17
15 17
14 17
18 19
16 17
11 17
18 21
18 22
18 24
28 29
19 27
32 33
33...

result:

ok Correct.

Test #14:

score: 0
Wrong Answer
time: 20ms
memory: 712kb

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:

2 4
3 6
3 7
3 9
4 5
4 11
4 13
5 14
5 13
5 17
6 17
6 19
7 15
7 10
22 29
24 26
27 29
27 28
32 34
32 33...

result:

wrong answer Invalid interval.

Test #15:

score: 0
Wrong Answer
time: 1113ms
memory: 704kb

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:

2 50009
4 50009
3 50009
6 50009
8 50009
7 50009
5 50009
10 50009
12 50009
11 50009
14 50009
15 50009...

result:

wrong answer Invalid interval.

Test #16:

score: 0
Wrong Answer
time: 94ms
memory: 712kb

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:

2 5
5 7
6 7
6 9
6 8
12 14
13 14
18 19
15 17
6 16
22 23
24 25
25 26
25 27
25 30
26 28
26 31
26 35
29 ...

result:

wrong answer Too much cost.

Test #17:

score: 0
Wrong Answer
time: 130ms
memory: 712kb

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:

2 3
3 5
4 10
6 9
6 11
6 13
7 10
7 14
7 15
7 18
8 18
8 16
8 20
8 22
9 23
9 24
9 22
9 19
9 13
9 26
9 2...

result:

wrong answer Too much cost.

Test #18:

score: 0
Runtime Error

input:

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

output:

2 10006
4 10006
3 10006
6 10006
8 10006
7 10006
5 10006
10 10006
12 10006
11 10006
14 10006
15 10006...

result:


Test #19:

score: 0
Runtime Error

input:

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

output:

3 5
4 6
4 7
4 9
4 8
4 5
4 12
5 12
5 14
5 13
17 18
18 20
5 18
8 10
8 23
10 22
10 24
10 23
27 28
28 29...

result:


Test #20:

score: 0
Runtime Error

input:

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

output:

2 10
4 10
3 10
6 10
7 10
5 10
9 10
11 18
13 17
11 17
8 17
15 17
16 17
21 29
24 28
25 28
23 28
18 28
...

result: