QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#61624#1807. Distribute the BarsMaMengQiWA 5ms5928kbC++17871b2022-11-14 11:37:332022-11-14 11:37:34

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 4ms
memory: 5848kb

input:

4

output:

2
2 1 7 
2 3 5 

result:

ok OK (2 groups)

Test #2:

score: 0
Accepted
time: 2ms
memory: 5736kb

input:

2

output:

-1

result:

ok OK (impossible)

Test #3:

score: 0
Accepted
time: 2ms
memory: 5848kb

input:

3

output:

-1

result:

ok OK (impossible)

Test #4:

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

input:

1659

output:

3
553 1 9 17 19 3317 21 3315 23 3313 25 3311 27 3309 29 3307 31 3305 33 3303 35 3301 37 3299 39 3297 41 3295 43 3293 45 3291 47 3289 49 3287 51 3285 53 3283 55 3281 57 3279 59 3277 61 3275 63 3273 65 3271 67 3269 69 3267 71 3265 73 3263 75 3261 77 3259 79 3257 81 3255 83 3253 85 3251 87 3249 89 3247...

result:

ok OK (3 groups)

Test #5:

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

input:

8941

output:

-1

result:

ok OK (impossible)

Test #6:

score: -100
Wrong Answer
time: 5ms
memory: 5816kb

input:

458

output:

2
228 1 7 9 915 11 913 13 911 15 909 17 907 19 905 21 903 23 901 25 899 27 897 29 895 31 893 33 891 35 889 37 887 39 885 41 883 43 881 45 879 47 877 49 875 51 873 53 871 55 869 57 867 59 865 61 863 63 861 65 859 67 857 69 855 71 853 73 851 75 849 77 847 79 845 81 843 83 841 85 839 87 837 89 835 91 8...

result:

wrong answer Not all bars are distributed