QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#32113#2659. Armia klonówflower10 219ms3720kbC++14765b2022-05-17 16:45:212022-05-17 16:45:23

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 10
Accepted

Test #1:

score: 10
Accepted
time: 3ms
memory: 3676kb

input:

8 2 1

output:

8

result:

ok single line: '8'

Test #2:

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

input:

1 1 1

output:

2

result:

ok single line: '2'

Test #3:

score: 0
Accepted
time: 3ms
memory: 3668kb

input:

2 1 1

output:

3

result:

ok single line: '3'

Test #4:

score: 0
Accepted
time: 1ms
memory: 3596kb

input:

3 1 1

output:

4

result:

ok single line: '4'

Test #5:

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

input:

4 1 1

output:

5

result:

ok single line: '5'

Test #6:

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

input:

5 1 1

output:

5

result:

ok single line: '5'

Test #7:

score: 0
Accepted
time: 1ms
memory: 3588kb

input:

6 1 1

output:

6

result:

ok single line: '6'

Test #8:

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

input:

7 1 1

output:

6

result:

ok single line: '6'

Test #9:

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

input:

8 1 1

output:

6

result:

ok single line: '6'

Test #10:

score: 0
Accepted
time: 3ms
memory: 3588kb

input:

9 1 1

output:

7

result:

ok single line: '7'

Test #11:

score: 0
Accepted
time: 3ms
memory: 3516kb

input:

10 1 1

output:

7

result:

ok single line: '7'

Test #12:

score: 0
Accepted
time: 3ms
memory: 3656kb

input:

50 1 1

output:

11

result:

ok single line: '11'

Test #13:

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

input:

1000 1 1

output:

20

result:

ok single line: '20'

Test #14:

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

input:

1000000 1 1

output:

38

result:

ok single line: '38'

Test #15:

score: 0
Accepted
time: 3ms
memory: 3560kb

input:

1000000000 1 1

output:

57

result:

ok single line: '57'

Test #16:

score: 0
Accepted
time: 1ms
memory: 3720kb

input:

1000000000000000000 1 1

output:

114

result:

ok single line: '114'

Test #17:

score: 0
Accepted
time: 1ms
memory: 3520kb

input:

100 1 1

output:

13

result:

ok single line: '13'

Test #18:

score: 0
Accepted
time: 3ms
memory: 3652kb

input:

900567811781994725 1 1

output:

113

result:

ok single line: '113'

Test #19:

score: 0
Accepted
time: 3ms
memory: 3716kb

input:

900567811781994726 1 1

output:

114

result:

ok single line: '114'

Subtask #2:

score: 0
Time Limit Exceeded

Test #20:

score: 40
Accepted
time: 3ms
memory: 3668kb

input:

1000 1 1

output:

20

result:

ok single line: '20'

Test #21:

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

input:

1000 1000 1

output:

2000

result:

ok single line: '2000'

Test #22:

score: 0
Accepted
time: 219ms
memory: 3668kb

input:

1000 1 1000

output:

10010

result:

ok single line: '10010'

Test #23:

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

input:

1000 1 50

output:

510

result:

ok single line: '510'

Test #24:

score: 0
Accepted
time: 1ms
memory: 3580kb

input:

1000 40 50

output:

900

result:

ok single line: '900'

Test #25:

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

input:

1000 90 50

output:

1200

result:

ok single line: '1200'

Test #26:

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

input:

1000 200 50

output:

1750

result:

ok single line: '1750'

Test #27:

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

input:

1000 60 50

output:

1050

result:

ok single line: '1050'

Test #28:

score: 0
Accepted
time: 3ms
memory: 3644kb

input:

1000 450 50

output:

2750

result:

ok single line: '2750'

Test #29:

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

input:

1000 1699 50

output:

6497

result:

ok single line: '6497'

Test #30:

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

input:

1000 1700 50

output:

6500

result:

ok single line: '6500'

Test #31:

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

input:

1000 1701 50

output:

6502

result:

ok single line: '6502'

Test #32:

score: 0
Accepted
time: 3ms
memory: 3592kb

input:

1000 20 21

output:

410

result:

ok single line: '410'

Test #33:

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

input:

1000 20 20

output:

400

result:

ok single line: '400'

Test #34:

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

input:

1000 20 5

output:

175

result:

ok single line: '175'

Test #35:

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

input:

1000000 100 1

output:

523

result:

ok single line: '523'

Test #36:

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

input:

1000 20 4

output:

156

result:

ok single line: '156'

Test #37:

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

input:

1000 20 3

output:

137

result:

ok single line: '137'

Test #38:

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

input:

1000 20 2

output:

116

result:

ok single line: '116'

Test #39:

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

input:

1000 20 1

output:

88

result:

ok single line: '88'

Test #40:

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

input:

900 20 6

output:

190

result:

ok single line: '190'

Test #41:

score: 0
Accepted
time: 1ms
memory: 3536kb

input:

800 20 6

output:

188

result:

ok single line: '188'

Test #42:

score: 0
Accepted
time: 3ms
memory: 3560kb

input:

700 20 6

output:

182

result:

ok single line: '182'

Test #43:

score: 0
Accepted
time: 1ms
memory: 3568kb

input:

600 20 6

output:

176

result:

ok single line: '176'

Test #44:

score: 0
Accepted
time: 1ms
memory: 3588kb

input:

1000 1000000 1

output:

1001000

result:

ok single line: '1001000'

Test #45:

score: -40
Time Limit Exceeded

input:

1000 1 1000000

output:


result:


Subtask #3:

score: 0
Skipped

Dependency #2:

0%

Subtask #4:

score: 0
Skipped

Dependency #3:

0%

Subtask #5:

score: 0
Skipped

Dependency #1:

100%
Accepted

Dependency #2:

0%