QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#601350#7873. Since A Light3un_larryfunc100 ✓148ms15228kbC++205.3kb2024-09-29 22:28:152024-09-29 22:28:15

詳細信息

Subtask #1:

score: 1
Accepted

Test #1:

score: 1
Accepted
time: 128ms
memory: 14036kb

input:

1 1

output:

1

result:

ok single line: '1'

Test #2:

score: 1
Accepted
time: 128ms
memory: 14476kb

input:

2 1

output:

2

result:

ok single line: '2'

Test #3:

score: 1
Accepted
time: 122ms
memory: 12700kb

input:

3 2

output:

3

result:

ok single line: '3'

Test #4:

score: 1
Accepted
time: 128ms
memory: 14476kb

input:

4 4

output:

5

result:

ok single line: '5'

Test #5:

score: 1
Accepted
time: 132ms
memory: 14268kb

input:

5 7

output:

2

result:

ok single line: '2'

Test #6:

score: 1
Accepted
time: 121ms
memory: 14364kb

input:

6 4

output:

41

result:

ok single line: '41'

Test #7:

score: 1
Accepted
time: 123ms
memory: 12808kb

input:

7 11

output:

2

result:

ok single line: '2'

Test #8:

score: 1
Accepted
time: 120ms
memory: 14404kb

input:

8 8

output:

175

result:

ok single line: '175'

Test #9:

score: 1
Accepted
time: 125ms
memory: 12500kb

input:

9 10

output:

298

result:

ok single line: '298'

Test #10:

score: 1
Accepted
time: 128ms
memory: 14384kb

input:

10 3

output:

392

result:

ok single line: '392'

Test #11:

score: 1
Accepted
time: 119ms
memory: 13104kb

input:

11 8

output:

3785

result:

ok single line: '3785'

Test #12:

score: 1
Accepted
time: 125ms
memory: 14244kb

input:

12 15

output:

1422

result:

ok single line: '1422'

Test #13:

score: 1
Accepted
time: 125ms
memory: 12760kb

input:

13 17

output:

2008

result:

ok single line: '2008'

Test #14:

score: 1
Accepted
time: 132ms
memory: 14804kb

input:

14 16

output:

21508

result:

ok single line: '21508'

Test #15:

score: 1
Accepted
time: 124ms
memory: 12456kb

input:

15 1

output:

1596

result:

ok single line: '1596'

Test #16:

score: 1
Accepted
time: 126ms
memory: 14072kb

input:

16 28

output:

29

result:

ok single line: '29'

Test #17:

score: 1
Accepted
time: 117ms
memory: 14268kb

input:

17 6

output:

98086

result:

ok single line: '98086'

Test #18:

score: 1
Accepted
time: 128ms
memory: 14460kb

input:

18 11

output:

1478534

result:

ok single line: '1478534'

Test #19:

score: 1
Accepted
time: 129ms
memory: 14836kb

input:

19 25

output:

250068

result:

ok single line: '250068'

Test #20:

score: 1
Accepted
time: 119ms
memory: 12860kb

input:

20 27

output:

355418

result:

ok single line: '355418'

Test #21:

score: 1
Accepted
time: 128ms
memory: 15104kb

input:

21 23

output:

13517834

result:

ok single line: '13517834'

Test #22:

score: 1
Accepted
time: 128ms
memory: 14388kb

input:

22 4

output:

315460

result:

ok single line: '315460'

Test #23:

score: 1
Accepted
time: 116ms
memory: 12664kb

input:

23 37

output:

18428

result:

ok single line: '18428'

Test #24:

score: 1
Accepted
time: 132ms
memory: 14060kb

input:

24 18

output:

647287901

result:

ok single line: '647287901'

Test #25:

score: 1
Accepted
time: 120ms
memory: 12736kb

input:

25 40

output:

136655

result:

ok single line: '136655'

Subtask #2:

score: 7
Accepted

Test #26:

score: 7
Accepted
time: 128ms
memory: 14696kb

input:

380 59

output:

718355613

result:

ok single line: '718355613'

Test #27:

score: 7
Accepted
time: 117ms
memory: 14316kb

input:

164 46

output:

353450103

result:

ok single line: '353450103'

Test #28:

score: 7
Accepted
time: 132ms
memory: 15204kb

input:

206 144

output:

910367339

result:

ok single line: '910367339'

Test #29:

score: 7
Accepted
time: 125ms
memory: 14128kb

input:

270 127

output:

78796015

result:

ok single line: '78796015'

Test #30:

score: 7
Accepted
time: 125ms
memory: 14488kb

input:

157 87

output:

705420296

result:

ok single line: '705420296'

Subtask #3:

score: 10
Accepted

Test #31:

score: 10
Accepted
time: 132ms
memory: 14428kb

input:

413 652

output:

170600118

result:

ok single line: '170600118'

Test #32:

score: 10
Accepted
time: 132ms
memory: 14896kb

input:

724 979

output:

677376486

result:

ok single line: '677376486'

Test #33:

score: 10
Accepted
time: 133ms
memory: 14744kb

input:

1667 1699

output:

147640784

result:

ok single line: '147640784'

Test #34:

score: 10
Accepted
time: 120ms
memory: 14720kb

input:

1980 517

output:

276583672

result:

ok single line: '276583672'

Test #35:

score: 10
Accepted
time: 133ms
memory: 14296kb

input:

2000 2000

output:

265422351

result:

ok single line: '265422351'

Subtask #4:

score: 14
Accepted

Test #36:

score: 14
Accepted
time: 133ms
memory: 14304kb

input:

4495 4498

output:

375585699

result:

ok single line: '375585699'

Test #37:

score: 14
Accepted
time: 125ms
memory: 14396kb

input:

4968 2196

output:

844161053

result:

ok single line: '844161053'

Test #38:

score: 14
Accepted
time: 127ms
memory: 14168kb

input:

3967 3143

output:

496535114

result:

ok single line: '496535114'

Test #39:

score: 14
Accepted
time: 129ms
memory: 14700kb

input:

2406 4205

output:

599052202

result:

ok single line: '599052202'

Test #40:

score: 14
Accepted
time: 117ms
memory: 12924kb

input:

3942 3259

output:

110001226

result:

ok single line: '110001226'

Subtask #5:

score: 19
Accepted

Test #41:

score: 19
Accepted
time: 128ms
memory: 14700kb

input:

158314621 32

output:

465741961

result:

ok single line: '465741961'

Test #42:

score: 19
Accepted
time: 126ms
memory: 14272kb

input:

456573367 93

output:

310185347

result:

ok single line: '310185347'

Test #43:

score: 19
Accepted
time: 132ms
memory: 14008kb

input:

638787498 62

output:

467767457

result:

ok single line: '467767457'

Test #44:

score: 19
Accepted
time: 132ms
memory: 14004kb

input:

752253598 48

output:

110045639

result:

ok single line: '110045639'

Test #45:

score: 19
Accepted
time: 132ms
memory: 14312kb

input:

992442354 76

output:

330338775

result:

ok single line: '330338775'

Subtask #6:

score: 36
Accepted

Test #46:

score: 36
Accepted
time: 132ms
memory: 14196kb

input:

812922977 1762

output:

927995257

result:

ok single line: '927995257'

Test #47:

score: 36
Accepted
time: 127ms
memory: 13996kb

input:

661518393 1247

output:

469311509

result:

ok single line: '469311509'

Test #48:

score: 36
Accepted
time: 125ms
memory: 14720kb

input:

562238351 1811

output:

157645249

result:

ok single line: '157645249'

Test #49:

score: 36
Accepted
time: 128ms
memory: 14424kb

input:

985149295 62

output:

137919742

result:

ok single line: '137919742'

Test #50:

score: 36
Accepted
time: 130ms
memory: 14804kb

input:

983061012 3695

output:

893431185

result:

ok single line: '893431185'

Subtask #7:

score: 13
Accepted

Test #51:

score: 13
Accepted
time: 145ms
memory: 15112kb

input:

320076133 78121

output:

395290254

result:

ok single line: '395290254'

Test #52:

score: 13
Accepted
time: 139ms
memory: 14524kb

input:

446896560 77255

output:

351855538

result:

ok single line: '351855538'

Test #53:

score: 13
Accepted
time: 124ms
memory: 14660kb

input:

119010844 13459

output:

267420251

result:

ok single line: '267420251'

Test #54:

score: 13
Accepted
time: 148ms
memory: 15228kb

input:

974106901 92469

output:

455361665

result:

ok single line: '455361665'

Test #55:

score: 13
Accepted
time: 127ms
memory: 14720kb

input:

776878732 25173

output:

929444986

result:

ok single line: '929444986'