UOJ Logo

NOI.AC

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#2395#32. SortMusicLC104814ms1392kbC++623b2018-09-08 19:27:562018-09-08 19:27:57

answer


Details

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

Test #1:

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

input:

5
0 0 0 1 1 

output:

-1 -1

result:

ok Correct.

Test #2:

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

input:

5
716816476 646500411 807499637 544792531 128057616 

output:

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

result:

wrong answer Not sorted.

Test #3:

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

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

input:

7
685386610 762888212 32009424 450956771 498508039 313999604 331164353 

output:

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

result:

wrong answer Not sorted.

Test #5:

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

input:

10
1 1 0 0 0 0 0 1 1 1 

output:

1 7
2 6
-1 -1

result:

wrong answer Not sorted.

Test #6:

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

input:

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

output:

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

result:

wrong answer Not sorted.

Test #7:

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

input:

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

output:

1 2999
1 2998
1 2997
1 2996
1 2995
1 2994
1 2983
1 2982
1 2981
1 2980
1 2979
1 2978
1 2977
1 2976
1 ...

result:

wrong answer Too much cost.

Test #8:

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

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 4000
5 3999
5 3998
13 3997
15 3996
16 3995
16 3994
19 3993
19 3992
19 3991
19 3990
19 3989
19 3988...

result:

wrong answer Not sorted.

Test #9:

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

input:

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

output:

1 4000
1 3999
1 3998
1 3997
1 3996
1 3995
1 3994
1 3993
1 3992
1 3991
1 3990
1 3989
1 3988
1 3987
1 ...

result:

wrong answer Too much cost.

Test #10:

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

2 5000
2 4999
8 4998
9 4997
14 4996
18 4995
19 4994
20 4993
21 4992
21 4991
21 4990
23 4989
24 4988
...

result:

wrong answer Not sorted.

Test #11:

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

input:

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

output:

1 4998
1 4997
1 4991
1 4990
1 4989
1 4988
1 4987
1 4986
1 4985
1 4984
1 4983
1 4982
1 4981
1 4980
1 ...

result:

wrong answer Too much cost.

Test #12:

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

input:

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

output:

1 5000
1 4999
1 4998
1 4997
1 4996
1 4995
1 4994
1 4993
1 4992
1 4991
1 4990
1 4989
1 4988
1 4987
1 ...

result:

wrong answer Too much cost.

Test #13:

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

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 9998
2 9997
2 9996
4 9995
4 9994
6 9993
6 9992
6 9991
11 9990
11 9989
11 9988
11 9987
11 9986
11 9...

result:

wrong answer Too much cost.

Test #14:

score: 0
Wrong Answer
time: 209ms
memory: 1276kb

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 20000
2 19999
3 19998
3 19997
3 19996
3 19995
3 19994
3 19993
3 19992
3 19991
5 19990
5 19989
5 19...

result:

wrong answer Too much cost.

Test #15:

score: 0
Wrong Answer
time: 472ms
memory: 1312kb

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
1 29999
4 29998
4 29997
4 29996
6 29995
7 29994
7 29993
7 29992
7 29991
10 29990
10 29989
11...

result:

wrong answer Too much cost.

Test #16:

score: 0
Wrong Answer
time: 807ms
memory: 1352kb

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 40000
2 39999
2 39998
2 39997
2 39996
2 39995
6 39994
6 39993
6 39992
8 39991
8 39990
8 39989
9 39...

result:

wrong answer Too much cost.

Test #17:

score: 0
Wrong Answer
time: 1448ms
memory: 1392kb

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 49999
2 49998
4 49997
6 49996
7 49995
8 49994
11 49993
12 49992
14 49991
15 49990
16 49989
17 4998...

result:

wrong answer Too much cost.

Test #18:

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

input:

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

output:

10001 30000
10001 29999
10001 29985
10001 29984
10001 29968
10001 29967
10001 29966
10001 29965
1000...

result:

wrong answer Too much cost.

Test #19:

score: 0
Time Limit Exceeded

input:

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

output:

1 39971
1 39970
1 39969
1 39968
1 39967
1 39966
1 39965
1 39964
1 39963
1 39962
1 39961
1 39960
1 39...

result:


Test #20:

score: 0
Time Limit Exceeded

input:

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

output:

1 50000
1 49999
1 49998
1 49997
1 49996
1 49995
1 49994
1 49993
1 49992
1 49991
1 49990
1 49989
1 49...

result: