UOJ Logo

NOI.AC

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#1438#32. Sortshanxizeng101102ms920kbC++1.1kb2018-09-08 09:19:132018-09-08 12:23:05

answer


Details

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

Test #1:

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

input:

5
0 0 0 1 1 

output:

-1 -1

result:

ok Correct.

Test #2:

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

input:

5
716816476 646500411 807499637 544792531 128057616 

output:

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

result:

wrong answer Not sorted.

Test #3:

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

input:

7
0 0 1 0 0 0 0 

output:

3 4
-1 -1

result:

wrong answer Not sorted.

Test #4:

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

input:

7
685386610 762888212 32009424 450956771 498508039 313999604 331164353 

output:

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

result:

wrong answer Not sorted.

Test #5:

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

input:

10
1 1 0 0 0 0 0 1 1 1 

output:

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

result:

ok Correct.

Test #6:

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

input:

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

output:

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

result:

wrong answer Not sorted.

Test #7:

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

input:

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

output:

1498 1500
1495 1499
1493 1498
1490 1497
1489 1496
1488 1495
1487 1494
1486 1493
1484 1492
1476 1491
...

result:

wrong answer Not sorted.

Test #8:

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

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:

1994 2000
1993 1999
1989 1998
1985 1997
1983 1996
1980 1995
1979 1994
1974 1993
1967 1992
1966 1991
...

result:

wrong answer Not sorted.

Test #9:

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

input:

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

output:

1999 2000
1996 1999
1994 1998
1993 1997
1986 1996
1985 1995
1984 1994
1983 1993
1982 1992
1977 1991
...

result:

wrong answer Not sorted.

Test #10:

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

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:

2499 2500
2497 2499
2495 2498
2494 2497
2493 2496
2492 2495
2491 2494
2488 2493
2485 2492
2484 2491
...

result:

wrong answer Not sorted.

Test #11:

score: 0
Wrong Answer
time: 9ms
memory: 572kb

input:

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

output:

2498 2500
2495 2499
2494 2498
2493 2497
2491 2496
2490 2495
2489 2494
2478 2493
2473 2492
2469 2491
...

result:

wrong answer Not sorted.

Test #12:

score: 0
Wrong Answer
time: 9ms
memory: 572kb

input:

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

output:

2499 2500
2498 2499
2497 2498
2496 2497
2495 2496
2494 2495
2493 2494
2492 2493
2491 2492
2490 2491
...

result:

wrong answer Not sorted.

Test #13:

score: 0
Wrong Answer
time: 16ms
memory: 604kb

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:

5001 5002
5000 5006
4999 5012
4998 5013
4997 5015
4996 5016
4995 5021
4994 5023
4993 5025
4992 5026
...

result:

wrong answer Not sorted.

Test #14:

score: 0
Wrong Answer
time: 39ms
memory: 680kb

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:

10001 10002
10000 10009
9999 10011
9998 10012
9997 10013
9996 10014
9995 10015
9994 10016
9993 10021...

result:

wrong answer Too much cost.

Test #15:

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

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 15000
14995 14999
14990 14998
14989 14997
14986 14996
14985 14995
14983 14994
14982 14993
1498...

result:

wrong answer Too much cost.

Test #16:

score: 0
Wrong Answer
time: 91ms
memory: 840kb

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:

19999 20000
19998 19999
19995 19998
19994 19997
19991 19996
19990 19995
19989 19994
19988 19993
1998...

result:

wrong answer Too much cost.

Test #17:

score: 0
Wrong Answer
time: 137ms
memory: 912kb

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 25000
24995 24999
24992 24998
24990 24997
24989 24996
24987 24995
24984 24994
24983 24993
2497...

result:

wrong answer Too much cost.

Test #18:

score: 0
Wrong Answer
time: 80ms
memory: 752kb

input:

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

output:

14999 15000
14998 14999
14995 14998
14994 14997
14993 14996
14991 14995
14989 14994
14988 14993
1498...

result:

wrong answer Too much cost.

Test #19:

score: 0
Wrong Answer
time: 268ms
memory: 844kb

input:

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

output:

19999 20000
19997 19999
19996 19998
19994 19997
19993 19996
19992 19995
19991 19994
19990 19993
1998...

result:

wrong answer Too much cost.

Test #20:

score: 0
Wrong Answer
time: 381ms
memory: 920kb

input:

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

output:

24998 25000
24996 24999
24994 24998
24992 24997
24991 24996
24988 24995
24982 24994
24981 24993
2498...

result:

wrong answer Too much cost.