UOJ Logo

NOI.AC

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#1978#32. SortMikeone401408ms2544kbC++1.6kb2018-09-08 11:34:142018-09-08 13:15:19

answer


Details

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

Test #1:

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

input:

5
0 0 0 1 1 

output:

1 2
4 5
-1 -1

result:

ok Correct.

Test #2:

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

input:

5
716816476 646500411 807499637 544792531 128057616 

output:

3 5
1 4
1 2
-1 -1

result:

ok Correct.

Test #3:

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

input:

7
0 0 1 0 0 0 0 

output:

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

result:

ok Correct.

Test #4:

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

input:

7
685386610 762888212 32009424 450956771 498508039 313999604 331164353 

output:

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

result:

wrong answer Not sorted.

Test #5:

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

input:

10
1 1 0 0 0 0 0 1 1 1 

output:

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

result:

ok Correct.

Test #6:

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

input:

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

output:

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

result:

wrong answer Not sorted.

Test #7:

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

input:

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

output:

1481 1497
1476 1482
1472 1478
1445 1475
1443 1450
1439 1449
1431 1446
1427 1439
1413 1436
1410 1423
...

result:

wrong answer Not sorted.

Test #8:

score: 5
Accepted
time: 5ms
memory: 1292kb

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:

2000 4000
1993 1999
1989 1997
1985 1996
1983 1995
1979 1994
1974 1992
1966 1991
1963 1989
1960 1988
...

result:

ok Correct.

Test #9:

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

input:

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

output:

1993 1998
1985 1997
1982 1996
1972 1994
1967 1992
1965 1991
1958 1990
1955 1989
1949 1988
1943 1987
...

result:

wrong answer Not sorted.

Test #10:

score: 5
Accepted
time: 7ms
memory: 1320kb

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:

2500 5000
2497 2498
2491 2497
2488 2492
2484 2491
2481 2489
2477 2487
2472 2486
2466 2482
2463 2478
...

result:

ok Correct.

Test #11:

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

input:

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

output:

2498 2499
2493 2498
2490 2495
2478 2494
2467 2493
2465 2490
2455 2489
2453 2484
2450 2483
2448 2482
...

result:

wrong answer Not sorted.

Test #12:

score: 5
Accepted
time: 12ms
memory: 1208kb

input:

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

output:

2500 5000
1 2500
2 2500
3 2501
4 2501
5 2502
6 2502
7 2503
8 2503
9 2504
10 2504
11 2505
12 2505
13 ...

result:

ok Correct.

Test #13:

score: 5
Accepted
time: 23ms
memory: 1460kb

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:

4998 4999
4996 4998
4993 4997
4990 4996
4988 4995
4986 4994
4980 4993
4978 4992
4974 4991
4970 4988
...

result:

ok Correct.

Test #14:

score: 0
Wrong Answer
time: 90ms
memory: 1740kb

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:

10000 20000
9993 9997
9990 9993
9986 9991
9980 9988
9977 9985
9972 9984
9968 9980
9963 9979
9961 997...

result:

wrong answer Too much cost.

Test #15:

score: 0
Wrong Answer
time: 201ms
memory: 2008kb

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:

14997 14999
14995 14998
14989 14997
14985 14995
14978 14993
14975 14987
14970 14985
14967 14984
1496...

result:

wrong answer Too much cost.

Test #16:

score: 0
Wrong Answer
time: 370ms
memory: 2284kb

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:

20000 40000
19994 19997
19986 19995
19984 19989
19979 19988
19977 19985
19974 19984
19968 19983
1996...

result:

wrong answer Too much cost.

Test #17:

score: 0
Wrong Answer
time: 524ms
memory: 2544kb

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:

24997 24999
24995 24998
24992 24997
24989 24996
24987 24994
24983 24993
24974 24991
24970 24985
2496...

result:

wrong answer Too much cost.

Test #18:

score: 0
Wrong Answer
time: 72ms
memory: 1776kb

input:

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

output:

14998 14999
14993 14998
14991 14995
14988 14994
14984 14993
14981 14990
14975 14988
14971 14984
1496...

result:

wrong answer Too much cost.

Test #19:

score: 0
Wrong Answer
time: 37ms
memory: 1348kb

input:

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

output:

19989 19998
19987 19989
19982 19988
19978 19987
19970 19986
19965 19979
19961 19976
19957 19973
1995...

result:

wrong answer Too much cost.

Test #20:

score: 0
Wrong Answer
time: 66ms
memory: 1384kb

input:

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

output:

24998 24999
24996 24998
24994 24997
24991 24996
24988 24994
24976 24993
24974 24986
24972 24985
2496...

result:

wrong answer Too much cost.