UOJ Logo

NOI.AC

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#2149#32. SortNOI_lovely51474ms184984kbC++822b2018-09-08 11:58:212018-09-08 13:28:45

answer


Details

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

Test #1:

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

input:

5
0 0 0 1 1 

output:

-1 -1

result:

ok Correct.

Test #2:

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

input:

5
716816476 646500411 807499637 544792531 128057616 

output:

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

result:

wrong answer Not sorted.

Test #3:

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

input:

7
0 0 1 0 0 0 0 

output:

1 3
3 7
-1 -1

result:

wrong answer Not sorted.

Test #4:

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

input:

7
685386610 762888212 32009424 450956771 498508039 313999604 331164353 

output:

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

result:

wrong answer Not sorted.

Test #5:

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

input:

10
1 1 0 0 0 0 0 1 1 1 

output:

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

result:

wrong answer Not sorted.

Test #6:

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

input:

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

output:

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

result:

wrong answer Not sorted.

Test #7:

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

input:

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

output:

1 1100
2 2873
3 1090
4 1170
5 1125
6 414
7 1552
8 107
9 430
10 1595
11 2811
12 978
13 1287
14 390
15...

result:

wrong answer Not sorted.

Test #8:

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

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 2
1 5
1 13
1 15
1 16
1 19
1 23
1 26
1 27
1 29
1 33
1 34
1 40
1 41
1 43
1 44
1 47
1 48
1 49
1 50
1 ...

result:

wrong answer Not sorted.

Test #9:

score: 0
Wrong Answer
time: 4ms
memory: 183692kb

input:

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

output:

1 969
2 1893
3 3328
4 234
5 3892
6 2367
7 2207
8 2170
9 943
10 724
11 1978
12 2458
13 4000
14 1543
1...

result:

wrong answer Invalid interval.

Test #10:

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

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 2
1 8
1 9
1 14
1 18
1 19
1 20
1 21
1 23
1 24
1 26
1 27
1 28
1 31
1 32
1 35
1 39
1 40
1 42
1 43
1 4...

result:

wrong answer Not sorted.

Test #11:

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

input:

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

output:

1 394
2 369
3 1382
4 3956
5 3087
6 1277
7 2099
8 526
9 4212
10 2112
11 2941
12 2749
13 4710
14 1535
...

result:

wrong answer Invalid interval.

Test #12:

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

input:

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

output:

1 5000
1 2
3 4999
2 4
5 4998
3 6
7 4997
4 8
9 4996
5 10
11 4995
6 12
13 4994
7 14
15 4993
8 16
17 49...

result:

wrong answer Invalid interval.

Test #13:

score: 0
Wrong Answer
time: 14ms
memory: 1296kb

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 3
3 3
3 4
3 6
3 11
3 23
3 25
3 28
3 29
3 30
3 32
3 34
3 35
3 37
3 38
3 40
3 44
3 46
3 47
3 48
...

result:

wrong answer Too much cost.

Test #14:

score: 0
Wrong Answer
time: 58ms
memory: 1376kb

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 2
1 3
1 5
1 6
1 7
1 8
1 10
1 11
1 12
1 14
1 15
1 16
1 18
1 20
1 22
1 23
1 24
1 30
1 32
1 33
1 34
1...

result:

wrong answer Too much cost.

Test #15:

score: 0
Wrong Answer
time: 120ms
memory: 1452kb

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 2
2 2
2 4
2 6
2 7
2 10
2 11
2 13
2 19
2 22
2 23
2 24
2 27
2 28
2 30
2 31
2 33
2 34
2 36
2 38
2 39
...

result:

wrong answer Too much cost.

Test #16:

score: 0
Wrong Answer
time: 197ms
memory: 1536kb

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 2
1 6
1 8
1 9
1 10
1 15
1 18
1 19
1 20
1 24
1 26
1 27
1 28
1 29
1 31
1 32
1 36
1 38
1 39
1 43
1 46...

result:

wrong answer Too much cost.

Test #17:

score: 0
Wrong Answer
time: 302ms
memory: 1596kb

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 2
1 4
1 6
1 7
1 8
1 11
1 12
1 14
1 15
1 16
1 17
1 19
1 20
1 21
1 23
1 24
1 25
1 26
1 27
1 28
1 30
...

result:

wrong answer Too much cost.

Test #18:

score: 0
Wrong Answer
time: 75ms
memory: 184356kb

input:

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

output:

10001 19234
10002 25772
10003 26947
10004 23179
10005 23975
10006 10412
10007 18642
10008 16259
1000...

result:

wrong answer Invalid interval.

Test #19:

score: 0
Wrong Answer
time: 266ms
memory: 184752kb

input:

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

output:

1 15809
2 4365
3 14288
4 22815
5 8980
6 2750
7 4752
8 2389
9 33014
10 3915
11 24502
12 23178
13 3316...

result:

wrong answer Invalid interval.

Test #20:

score: 0
Wrong Answer
time: 423ms
memory: 184984kb

input:

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

output:

1 21855
2 23679
3 22090
4 1148
5 34893
6 6765
7 33852
8 49558
9 33507
10 48539
11 42175
12 3996
13 3...

result:

wrong answer Invalid interval.