UOJ Logo

NOI.AC

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#1522#32. SortCLYMS10175ms1396kbC++510b2018-09-08 09:43:152018-09-08 12:29:17

answer


Details

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

Test #1:

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

input:

5
0 0 0 1 1 

output:

-1 -1

result:

ok Correct.

Test #2:

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

input:

5
716816476 646500411 807499637 544792531 128057616 

output:

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

result:

wrong answer Not sorted.

Test #3:

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

input:

7
0 0 1 0 0 0 0 

output:

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

result:

wrong answer Not sorted.

Test #5:

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

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: 0ms
memory: 1196kb

input:

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

output:

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

result:

wrong answer Not sorted.

Test #7:

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

input:

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

output:

1 2999
2 2989
3 2978
4 2970
5 2962
6 2959
9 2955
10 2953
11 2949
12 2947
13 2943
14 2940
15 2927
17 ...

result:

wrong answer Not sorted.

Test #8:

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

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
13 3998
15 3997
16 3996
23 3994
34 3989
48 3983
49 3982
55 3978
57 3977
59 3976
61 397...

result:

wrong answer Not sorted.

Test #9:

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

input:

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

output:

4 4000
7 3998
28 3995
34 3994
36 3993
38 3992
42 3991
43 3990
48 3989
54 3988
58 3986
71 3985
73 398...

result:

wrong answer Not sorted.

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 5000
18 4996
19 4995
21 4993
23 4992
24 4991
26 4990
31 4987
32 4986
35 4985
42 4982
48 4977
51 49...

result:

wrong answer Not sorted.

Test #11:

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

input:

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

output:

2 4998
6 4997
7 4996
10 4993
14 4991
18 4990
19 4988
31 4987
32 4985
36 4983
37 4982
39 4981
41 4980...

result:

wrong answer Not sorted.

Test #12:

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

input:

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

output:

2500 5000
1 2500
2 2500
2501 4999
3 2501
4 2500
5 4998
6 2501
2499 4998
2502 4997
7 4996
8 4995
9 25...

result:

wrong answer Not sorted.

Test #13:

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

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
4 9988
6 9986
11 9979
23 9956
25 9953
28 9949
29 9947
30 9946
32 9943
34 9941
35 9939
...

result:

wrong answer Not sorted.

Test #14:

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

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
3 19999
5 19998
6 19997
8 19995
10 19994
11 19993
15 19990
16 19989
18 19988
20 19987
24 199...

result:

wrong answer Too much cost.

Test #15:

score: 0
Wrong Answer
time: 8ms
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
4 29987
6 29984
7 29982
10 29976
11 29975
13 29972
19 29962
22 29959
23 29958
24 29955
27 29...

result:

wrong answer Too much cost.

Test #16:

score: 0
Wrong Answer
time: 10ms
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
8 39998
9 39997
18 39994
19 39993
20 39992
24 39991
36 39984
46 39980
48 39978
69 39973
70 3...

result:

wrong answer Too much cost.

Test #17:

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

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 49998
4 49994
6 49992
7 49991
8 49990
11 49987
12 49986
14 49984
15 49980
16 49978
17 49977
19 499...

result:

wrong answer Too much cost.

Test #18:

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

input:

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

output:

10001 29993
10002 29988
10006 29987
10007 29986
10008 29982
10010 29980
10011 29979
10012 29976
1001...

result:

wrong answer Too much cost.

Test #19:

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

input:

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

output:

3 40000
4 39998
6 39994
7 39993
9 39992
10 39986
11 39983
13 39977
14 39972
15 39971
17 39969
19 399...

result:

wrong answer Too much cost.

Test #20:

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

input:

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

output:

1 50000
2 49994
4 49993
5 49992
6 49981
7 49980
8 49977
9 49976
11 49971
13 49969
16 49968
19 49964
...

result:

wrong answer Too much cost.