QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#38499#1175. Bags of CandiesHuangHanShengAC ✓406ms72928kbC++111.7kb2022-07-06 02:07:322022-07-06 02:07:33

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 56ms
memory: 71516kb

input:

2
4
9

output:

3
6

result:

ok 2 number(s): "3 6"

Test #2:

score: 0
Accepted
time: 91ms
memory: 71148kb

input:

5
2
3
4
5
6

output:

2
3
3
4
4

result:

ok 5 number(s): "2 3 3 4 4"

Test #3:

score: 0
Accepted
time: 80ms
memory: 72684kb

input:

5
1111
2018
3333
4006
5555

output:

599
1078
1772
2128
2942

result:

ok 5 number(s): "599 1078 1772 2128 2942"

Test #4:

score: 0
Accepted
time: 138ms
memory: 72928kb

input:

5
26666666
10000000
23456789
27777777
24444442

output:

13730373
5158034
12080298
14301448
12588059

result:

ok 5 number(s): "13730373 5158034 12080298 14301448 12588059"

Test #5:

score: 0
Accepted
time: 406ms
memory: 72876kb

input:

5
47890123456
12345678901
96666666669
85555555558
100000000000

output:

24438086351
6307451722
49300536501
43638011231
50999200118

result:

ok 5 number(s): "24438086351 6307451722 49300536501 43638011231 50999200118"