UOJ Logo

NOI.AC

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#34741#32. Sortl_water10581ms7512kbC++646b2018-10-30 16:14:172018-10-30 16:14:18

answer


Details

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

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: 0
Wrong Answer
time: 0ms
memory: 1168kb

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: 3204kb

input:

7
0 0 1 0 0 0 0 

output:

3 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 6
5 6
7 1
-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: 2ms
memory: 1212kb

input:

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

output:

1 2630
2 525
3 969
4 1019
5 1532
6 2
7 1140
8 2879
9 1956
10 2104
11 157
12 610
13 1582
14 1184
15 2...

result:

wrong answer Invalid interval.

Test #8:

score: 0
Wrong Answer
time: 0ms
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:

2 2100
5 2100
8 2100
11 2100
19 2100
21 2100
23 2100
26 2100
27 2100
34 2100
37 2100
38 2100
42 2100...

result:

wrong answer Invalid interval.

Test #9:

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

input:

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

output:

1 1412
2 3189
3 2078
4 222
5 3246
6 818
7 3589
8 3061
9 1011
10 2910
11 3163
12 2790
13 3454
14 1198...

result:

wrong answer Invalid interval.

Test #10:

score: 0
Wrong Answer
time: 2ms
memory: 1220kb

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 2523
3 2523
9 2523
10 2523
11 2523
12 2523
17 2523
22 2523
26 2523
30 2523
31 2523
41 2523
42 2523...

result:

wrong answer Invalid interval.

Test #11:

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

input:

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

output:

1 3424
2 1240
3 734
4 2599
5 961
6 1933
7 3129
8 3312
9 3710
10 4011
11 2655
12 2623
13 4839
14 4024...

result:

wrong answer Invalid interval.

Test #12:

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

input:

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

output:

1 8
2 60
3 328
4 1139
5 2761
6 4966
7 241
8 1022
9 2584
10 2017
11 1448
12 4568
13 511
14 4213
15 38...

result:

wrong answer Invalid interval.

Test #13:

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

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 4961
3 4961
4 4961
5 4961
7 4961
8 4961
10 4961
11 4961
16 4961
18 4961
30 4961
32 4961
34 4961
37...

result:

wrong answer Invalid interval.

Test #14:

score: 0
Wrong Answer
time: 13ms
memory: 1388kb

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 9978
3 9978
4 9978
6 9978
8 9978
9 9978
10 9978
11 9978
12 9978
13 9978
14 9978
18 9978
20 9978
25...

result:

wrong answer Too much cost.

Test #15:

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

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 15018
3 15018
6 15018
7 15018
9 15018
14 15018
15 15018
16 15018
19 15018
20 15018
21 15018
22 150...

result:

wrong answer Too much cost.

Test #16:

score: 0
Wrong Answer
time: 48ms
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:

2 20064
3 20064
7 20064
8 20064
10 20064
13 20064
14 20064
15 20064
16 20064
17 20064
22 20064
26 20...

result:

wrong answer Too much cost.

Test #17:

score: 0
Wrong Answer
time: 76ms
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:

2 25254
4 25254
6 25254
9 25254
11 25254
14 25254
15 25254
18 25254
19 25254
20 25254
23 25254
24 25...

result:

wrong answer Too much cost.

Test #18:

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

input:

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

output:

1 11
2 11
3 11
4 11
5 11
6 11
7 11
8 11
9 11
10 11
10001 24308
10002 27367
10003 23404
10004 28262
1...

result:

wrong answer Invalid interval.

Test #19:

score: 0
Wrong Answer
time: 143ms
memory: 7456kb

input:

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

output:

1 4444
2 3401
3 13701
4 14515
5 8524
6 22686
7 15109
8 6166
9 16488
10 19254
11 13551
12 34137
13 31...

result:

wrong answer Invalid interval.

Test #20:

score: 0
Wrong Answer
time: 218ms
memory: 7512kb

input:

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

output:

1 27956
2 17305
3 33369
4 16225
5 11050
6 48161
7 42273
8 19213
9 9758
10 39824
11 23983
12 26533
13...

result:

wrong answer Invalid interval.