QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#855739#9915. General Symmetrygg_gongRE 2ms21948kbC++202.0kb2025-01-13 10:08:482025-01-13 10:08:49

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 21948kb

input:

5 0
1 2 1 2 1

output:

1 3 5 3 1 
0 0 0 0 

result:

ok 9 numbers

Test #2:

score: 0
Accepted
time: 0ms
memory: 7884kb

input:

5 1
1 2 1 3 1

output:

1 3 5 3 1 
2 2 0 0 

result:

ok 9 numbers

Test #3:

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

input:

10 0
1 2 3 4 500 5 501 6 499 503

output:

1 1 1 1 1 1 1 1 1 1 
0 0 0 0 0 0 0 0 0 

result:

ok 19 numbers

Test #4:

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

input:

10 1
1 2 3 4 500 5 501 6 499 503

output:

1 1 1 1 3 3 5 1 1 1 
2 2 2 0 0 0 0 0 0 

result:

ok 19 numbers

Test #5:

score: 0
Accepted
time: 0ms
memory: 7932kb

input:

10 2
1 2 3 4 500 5 501 6 499 503

output:

1 3 3 1 3 5 5 3 1 1 
2 2 2 0 0 0 0 0 0 

result:

ok 19 numbers

Test #6:

score: -100
Runtime Error

input:

10 10
1 2 3 4 500 5 501 6 499 503

output:


result: