ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#2027 | #32. Sort | chenyilei | 55 | 432ms | 9156kb | C++ | 1.1kb | 2018-09-08 11:42:28 | 2018-09-08 13:19:23 |
answer
Details
小提示:点击横条可展开更详细的信息
Test #1:
score: 5
Accepted
time: 4ms
memory: 8968kb
input:
5 0 0 0 1 1
output:
1 3 4 5 -1 -1
result:
ok Correct.
Test #2:
score: 5
Accepted
time: 0ms
memory: 8968kb
input:
5 716816476 646500411 807499637 544792531 128057616
output:
3 5 1 4 2 3 2 3 1 2 -1 -1
result:
ok Correct.
Test #3:
score: 5
Accepted
time: 2ms
memory: 8972kb
input:
7 0 0 1 0 0 0 0
output:
1 7 2 6 2 6 3 5 3 5 5 7 1 3 -1 -1
result:
ok Correct.
Test #4:
score: 5
Accepted
time: 0ms
memory: 8968kb
input:
7 685386610 762888212 32009424 450956771 498508039 313999604 331164353
output:
1 7 2 6 2 6 3 5 6 7 1 3 -1 -1
result:
ok Correct.
Test #5:
score: 5
Accepted
time: 0ms
memory: 8972kb
input:
10 1 1 0 0 0 0 0 1 1 1
output:
1 7 2 6 2 6 3 5 3 5 6 10 7 9 7 9 9 10 6 7 1 3 -1 -1
result:
ok Correct.
Test #6:
score: 5
Accepted
time: 4ms
memory: 8972kb
input:
10 552474873 603523889 451688250 856980678 746716186 316583031 509750159 895158422 895128023 2769912...
output:
4 10 5 9 5 7 8 10 1 6 2 5 2 4 4 5 5 6 1 2 -1 -1
result:
ok Correct.
Test #7:
score: 5
Accepted
time: 0ms
memory: 8976kb
input:
3000 774135042 955379290 425485912 951649655 435211761 517813461 22865164 126834432 859390051 751505...
output:
1 2999 2 2998 2 2989 3 2988 3 2978 4 2977 4 2970 5 2969 5 2962 6 2961 6 2959 7 2958 9 2955 10 2954 1...
result:
ok Correct.
Test #8:
score: 5
Accepted
time: 10ms
memory: 8984kb
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 3 3999 5 3999 6 3998 13 3998 14 3997 15 3997 16 3996 16 3996 17 3995 19 3995 20 3994 23 3994 ...
result:
ok Correct.
Test #9:
score: 5
Accepted
time: 7ms
memory: 8984kb
input:
4000 253876655 192406499 33773493 714588720 62247300 512617285 830025704 158991275 146203174 6211898...
output:
4 4000 5 3999 7 3998 8 3997 28 3995 29 3994 34 3994 35 3993 36 3993 37 3992 38 3992 39 3991 42 3991 ...
result:
ok Correct.
Test #10:
score: 0
Wrong Answer
time: 11ms
memory: 8984kb
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 3 4999 8 4999 9 4998 9 4998 10 4997 14 4997 15 4996 18 4996 19 4995 19 4995 20 4994 20 4994 2...
result:
wrong answer Too much cost.
Test #11:
score: 5
Accepted
time: 0ms
memory: 8988kb
input:
5000 576963277 817862335 430151834 505200145 307373684 896252967 779450344 424741325 188693368 71249...
output:
2 4998 3 4997 6 4997 7 4996 7 4996 8 4995 10 4993 11 4992 14 4991 15 4990 18 4990 19 4989 19 4988 20...
result:
ok Correct.
Test #12:
score: 5
Accepted
time: 4ms
memory: 8984kb
input:
5000 296887 701139 1259018 1624742 1747738 2354948 2616510 2777173 3193517 3454408 3801911 4078104 4...
output:
2500 5000 2501 4999 1 2500 2 2499 2 2500 3 2499 2501 4999 2502 4998 3 2501 4 2500 4 2500 5 2499 5 49...
result:
ok Correct.
Test #13:
score: 0
Wrong Answer
time: 11ms
memory: 9004kb
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 9997 3 9996 3 9994 4 9993 4 9988 5 9987 5 9987 6 9986 6 9986 7 9985 7 9985 8 9984 8 ...
result:
wrong answer Too much cost.
Test #14:
score: 0
Wrong Answer
time: 34ms
memory: 9044kb
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 3 19999 4 19998 5 19998 6 19997 6 19997 7 19996 7 19996 8 19995 8 19995 9 19994 10 1...
result:
wrong answer Too much cost.
Test #15:
score: 0
Wrong Answer
time: 52ms
memory: 9084kb
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 2 29999 2 29993 3 29992 3 29988 4 29987 4 29987 5 29986 5 29985 6 29984 6 29984 7 29983 7 29...
result:
wrong answer Too much cost.
Test #16:
score: 0
Wrong Answer
time: 64ms
memory: 9124kb
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 3 39999 6 39999 7 39998 8 39998 9 39997 9 39997 10 39996 10 39996 11 39995 15 39995 16 39994...
result:
wrong answer Too much cost.
Test #17:
score: 0
Wrong Answer
time: 96ms
memory: 9156kb
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 49999 2 49998 2 49998 3 49997 3 49996 4 49995 4 49994 5 49993 5 49993 6 49992 6 49992 7 49991 7 49...
result:
wrong answer Too much cost.
Test #18:
score: 0
Wrong Answer
time: 33ms
memory: 9088kb
input:
30000 23333 23333 23333 23333 23333 23333 23333 23333 23333 23333 23333 23333 23333 23333 23333 2333...
output:
10001 29993 10002 29992 10002 29988 10003 29987 10006 29987 10007 29986 10007 29986 10008 29985 1000...
result:
wrong answer Too much cost.
Test #19:
score: 0
Wrong Answer
time: 46ms
memory: 9124kb
input:
40000 45713484 162270600 502896796 450460958 129500884 513441781 557737624 340152311 679444775 35445...
output:
3 40000 4 39999 4 39998 5 39997 6 39994 7 39993 7 39993 8 39992 9 39992 10 39991 10 39986 11 39985 1...
result:
wrong answer Too much cost.
Test #20:
score: 0
Wrong Answer
time: 54ms
memory: 9156kb
input:
50000 455891075 705915927 189674482 578895411 789714247 658466934 483470291 469989305 544838975 2828...
output:
1 50000 2 49999 2 49994 3 49993 4 49993 5 49992 5 49992 6 49991 6 49981 7 49980 7 49980 8 49979 8 49...
result:
wrong answer Too much cost.