UOJ Logo

NOI.AC

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#1530#32. Sortrenli810106539ms1744kbC++869b2018-09-08 09:45:022018-09-08 12:29:24

answer


Details

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

Test #1:

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

input:

5
0 0 0 1 1 

output:

1 3
2 3
4 5
-1 -1

result:

ok Correct.

Test #2:

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

input:

5
716816476 646500411 807499637 544792531 128057616 

output:

1 4
2 5
3 4
-1 -1

result:

wrong answer Not sorted.

Test #3:

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

input:

7
0 0 1 0 0 0 0 

output:

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

result:

ok Correct.

Test #4:

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

input:

7
685386610 762888212 32009424 450956771 498508039 313999604 331164353 

output:

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

result:

wrong answer Invalid interval.

Test #5:

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

input:

10
1 1 0 0 0 0 0 1 1 1 

output:

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

result:

wrong answer Invalid interval.

Test #6:

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

input:

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

output:

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

result:

wrong answer Invalid interval.

Test #7:

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

input:

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

output:

1 2342
2 241
3 20
4 1216
5 1510
6 578
7 53
8 2227
9 2677
10 1233
11 2648
12 1144
13 891
14 1756
15 4...

result:

wrong answer Invalid interval.

Test #8:

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

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:

1 2099
2 2099
3 4000
4 2099
5 2099
6 2099
7 2099
8 2099
9 2099
10 2099
11 4000
12 2099
13 2099
14 20...

result:

wrong answer Invalid interval.

Test #9:

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

input:

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

output:

1 1002
2 2820
3 3453
4 1105
5 762
6 1111
7 3101
8 3818
9 1503
10 3125
11 2850
12 1024
13 18
14 943
1...

result:

wrong answer Invalid interval.

Test #10:

score: 0
Wrong Answer
time: 25ms
memory: 1212kb

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:

1 2522
2 5000
3 5000
4 5000
5 5000
6 2522
7 2522
8 2522
9 2522
10 2522
11 2522
12 2522
13 2522
14 50...

result:

wrong answer Invalid interval.

Test #11:

score: 0
Wrong Answer
time: 16ms
memory: 1224kb

input:

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

output:

1 2926
2 2216
3 313
4 2238
5 802
6 533
7 649
8 818
9 2759
10 3669
11 2063
12 3271
13 4661
14 2855
15...

result:

wrong answer Invalid interval.

Test #12:

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

input:

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

output:

1 2
3 6
4 10
5 18
6 34
7 66
8 130
9 258
10 514
11 1026
12 2050
13 4098
14 1807
15 4610
16 783
17 358...

result:

wrong answer Invalid interval.

Test #13:

score: 0
Wrong Answer
time: 71ms
memory: 1272kb

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 10000
2 10000
3 10000
4 4960
5 10000
6 4960
7 10000
8 10000
9 4960
10 4960
11 10000
12 4960
13 100...

result:

wrong answer Too much cost.

Test #14:

score: 0
Wrong Answer
time: 281ms
memory: 1396kb

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:

1 9977
2 9977
3 20000
4 9977
5 20000
6 20000
7 9977
8 9977
9 20000
10 9977
11 9977
12 20000
13 9977
...

result:

wrong answer Too much cost.

Test #15:

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

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:

1 30000
2 30000
3 15017
4 30000
5 30000
6 15017
7 30000
8 30000
9 15017
10 15017
11 30000
12 30000
1...

result:

wrong answer Too much cost.

Test #16:

score: 0
Wrong Answer
time: 1075ms
memory: 1624kb

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:

1 20063
2 40000
3 40000
4 20063
5 20063
6 20063
7 20063
8 40000
9 20063
10 40000
11 40000
12 20063
1...

result:

wrong answer Too much cost.

Test #17:

score: 0
Wrong Answer
time: 1692ms
memory: 1736kb

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:

1 25253
2 50000
3 25253
4 25253
5 25253
6 25253
7 50000
8 25253
9 25253
10 25253
11 50000
12 25253
1...

result:

wrong answer Too much cost.

Test #18:

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

input:

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

output:

1 10000
2 10000
3 10000
4 10000
5 10000
6 10000
7 10000
8 10000
9 10000
10 10000
11 10000
12 10000
1...

result:

wrong answer Too much cost.

Test #19:

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

input:

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

output:

1 1832
2 35228
3 19275
4 17883
5 8609
6 26742
7 19737
8 13266
9 1707
10 16818
11 15766
12 23009
13 2...

result:

wrong answer Invalid interval.

Test #20:

score: 0
Wrong Answer
time: 1373ms
memory: 1744kb

input:

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

output:

1 22885
2 25079
3 3572
4 15649
5 20607
6 35067
7 28814
8 7157
9 25246
10 44299
11 31650
12 46134
13 ...

result:

wrong answer Invalid interval.