QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#601347#7873. Since A Light3un_larryfunc100 ✓148ms15168kbC++205.3kb2024-09-29 22:27:352024-09-29 22:27:36

詳細信息

Subtask #1:

score: 1
Accepted

Test #1:

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

input:

1 1

output:

1

result:

ok single line: '1'

Test #2:

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

input:

2 1

output:

2

result:

ok single line: '2'

Test #3:

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

input:

3 2

output:

3

result:

ok single line: '3'

Test #4:

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

input:

4 4

output:

5

result:

ok single line: '5'

Test #5:

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

input:

5 7

output:

2

result:

ok single line: '2'

Test #6:

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

input:

6 4

output:

41

result:

ok single line: '41'

Test #7:

score: 1
Accepted
time: 136ms
memory: 14584kb

input:

7 11

output:

2

result:

ok single line: '2'

Test #8:

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

input:

8 8

output:

175

result:

ok single line: '175'

Test #9:

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

input:

9 10

output:

298

result:

ok single line: '298'

Test #10:

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

input:

10 3

output:

392

result:

ok single line: '392'

Test #11:

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

input:

11 8

output:

3785

result:

ok single line: '3785'

Test #12:

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

input:

12 15

output:

1422

result:

ok single line: '1422'

Test #13:

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

input:

13 17

output:

2008

result:

ok single line: '2008'

Test #14:

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

input:

14 16

output:

21508

result:

ok single line: '21508'

Test #15:

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

input:

15 1

output:

1596

result:

ok single line: '1596'

Test #16:

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

input:

16 28

output:

29

result:

ok single line: '29'

Test #17:

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

input:

17 6

output:

98086

result:

ok single line: '98086'

Test #18:

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

input:

18 11

output:

1478534

result:

ok single line: '1478534'

Test #19:

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

input:

19 25

output:

250068

result:

ok single line: '250068'

Test #20:

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

input:

20 27

output:

355418

result:

ok single line: '355418'

Test #21:

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

input:

21 23

output:

13517834

result:

ok single line: '13517834'

Test #22:

score: 1
Accepted
time: 127ms
memory: 13968kb

input:

22 4

output:

315460

result:

ok single line: '315460'

Test #23:

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

input:

23 37

output:

18428

result:

ok single line: '18428'

Test #24:

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

input:

24 18

output:

647287901

result:

ok single line: '647287901'

Test #25:

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

input:

25 40

output:

136655

result:

ok single line: '136655'

Subtask #2:

score: 7
Accepted

Test #26:

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

input:

380 59

output:

718355613

result:

ok single line: '718355613'

Test #27:

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

input:

164 46

output:

353450103

result:

ok single line: '353450103'

Test #28:

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

input:

206 144

output:

910367339

result:

ok single line: '910367339'

Test #29:

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

input:

270 127

output:

78796015

result:

ok single line: '78796015'

Test #30:

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

input:

157 87

output:

705420296

result:

ok single line: '705420296'

Subtask #3:

score: 10
Accepted

Test #31:

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

input:

413 652

output:

170600118

result:

ok single line: '170600118'

Test #32:

score: 10
Accepted
time: 124ms
memory: 14756kb

input:

724 979

output:

677376486

result:

ok single line: '677376486'

Test #33:

score: 10
Accepted
time: 122ms
memory: 14456kb

input:

1667 1699

output:

147640784

result:

ok single line: '147640784'

Test #34:

score: 10
Accepted
time: 125ms
memory: 12712kb

input:

1980 517

output:

276583672

result:

ok single line: '276583672'

Test #35:

score: 10
Accepted
time: 123ms
memory: 13060kb

input:

2000 2000

output:

265422351

result:

ok single line: '265422351'

Subtask #4:

score: 14
Accepted

Test #36:

score: 14
Accepted
time: 137ms
memory: 14628kb

input:

4495 4498

output:

375585699

result:

ok single line: '375585699'

Test #37:

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

input:

4968 2196

output:

844161053

result:

ok single line: '844161053'

Test #38:

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

input:

3967 3143

output:

496535114

result:

ok single line: '496535114'

Test #39:

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

input:

2406 4205

output:

599052202

result:

ok single line: '599052202'

Test #40:

score: 14
Accepted
time: 121ms
memory: 12884kb

input:

3942 3259

output:

110001226

result:

ok single line: '110001226'

Subtask #5:

score: 19
Accepted

Test #41:

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

input:

158314621 32

output:

465741961

result:

ok single line: '465741961'

Test #42:

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

input:

456573367 93

output:

310185347

result:

ok single line: '310185347'

Test #43:

score: 19
Accepted
time: 133ms
memory: 14836kb

input:

638787498 62

output:

467767457

result:

ok single line: '467767457'

Test #44:

score: 19
Accepted
time: 125ms
memory: 14192kb

input:

752253598 48

output:

110045639

result:

ok single line: '110045639'

Test #45:

score: 19
Accepted
time: 119ms
memory: 13016kb

input:

992442354 76

output:

330338775

result:

ok single line: '330338775'

Subtask #6:

score: 36
Accepted

Test #46:

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

input:

812922977 1762

output:

927995257

result:

ok single line: '927995257'

Test #47:

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

input:

661518393 1247

output:

469311509

result:

ok single line: '469311509'

Test #48:

score: 36
Accepted
time: 133ms
memory: 14112kb

input:

562238351 1811

output:

157645249

result:

ok single line: '157645249'

Test #49:

score: 36
Accepted
time: 126ms
memory: 13956kb

input:

985149295 62

output:

137919742

result:

ok single line: '137919742'

Test #50:

score: 36
Accepted
time: 133ms
memory: 14148kb

input:

983061012 3695

output:

893431185

result:

ok single line: '893431185'

Subtask #7:

score: 13
Accepted

Test #51:

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

input:

320076133 78121

output:

395290254

result:

ok single line: '395290254'

Test #52:

score: 13
Accepted
time: 136ms
memory: 14196kb

input:

446896560 77255

output:

351855538

result:

ok single line: '351855538'

Test #53:

score: 13
Accepted
time: 126ms
memory: 13016kb

input:

119010844 13459

output:

267420251

result:

ok single line: '267420251'

Test #54:

score: 13
Accepted
time: 144ms
memory: 15028kb

input:

974106901 92469

output:

455361665

result:

ok single line: '455361665'

Test #55:

score: 13
Accepted
time: 130ms
memory: 13320kb

input:

776878732 25173

output:

929444986

result:

ok single line: '929444986'