QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#606355#682. Stickers3un_larryfunc100 ✓310ms6364kbC++202.9kb2024-10-03 01:36:042024-10-03 01:36:05

Details

Tip: Click on the bar to expand more detailed information

Pretests


Final Tests

Test #1:

score: 9.09091
Accepted
time: 308ms
memory: 6256kb

input:

1 2 1 1 1 1 1 1 1 1

output:

28263827

result:

ok single line: '28263827'

Test #2:

score: 9.09091
Accepted
time: 309ms
memory: 6328kb

input:

1 2 1 1 1 1 1 1 1 1

output:

28263827

result:

ok single line: '28263827'

Test #3:

score: 9.09091
Accepted
time: 306ms
memory: 6332kb

input:

1 2 2 2 2 1 1 1 1 1

output:

5555555554

result:

ok single line: '5555555554'

Test #4:

score: 9.09091
Accepted
time: 306ms
memory: 6356kb

input:

2 2 2 2 2 2 2 2 2 2

output:

1999919999999980

result:

ok single line: '1999919999999980'

Test #5:

score: 9.09091
Accepted
time: 307ms
memory: 6308kb

input:

4 3 2 2 2 2 2 2 2 3

output:

282638284722222221

result:

ok single line: '282638284722222221'

Test #6:

score: 9.09091
Accepted
time: 302ms
memory: 6364kb

input:

2 4 3 3 3 3 3 3 3 3

output:

1005594043670359641774

result:

ok single line: '1005594043670359641774'

Test #7:

score: 9.09091
Accepted
time: 307ms
memory: 6320kb

input:

4 4 4 4 4 4 3 3 3 3

output:

666666666666666666666666666665

result:

ok single line: '666666666666666666666666666665'

Test #8:

score: 9.09091
Accepted
time: 308ms
memory: 6312kb

input:

4 5 5 5 5 5 7 8 9 9

output:

100559404367035964177652825361730559404364

result:

ok single line: '100559404367035964177652825361730559404364'

Test #9:

score: 9.09091
Accepted
time: 308ms
memory: 6236kb

input:

6 6 6 6 5 5 5 5 5 5

output:

4999999949999999994999999999499999999949999999953

result:

ok single line: '4999999949999999994999999999499999999949999999953'

Test #10:

score: 9.09091
Accepted
time: 310ms
memory: 6344kb

input:

7 8 8 7 7 7 7 7 7 7

output:

371599993999999999399999999939999999993999999999399999999939999999938

result:

ok single line: '371599993999999999399999999939...3999999999399999999939999999938'

Test #11:

score: 9.09091
Accepted
time: 309ms
memory: 6280kb

input:

9 9 9 9 9 9 9 9 9 9

output:

19999199999999919999999991999999999199999999919999999991999999999199999999919999999918

result:

ok single line: '199991999999999199999999919999...1999999999199999999919999999918'