QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#594451#8116. Kocke3un_larryfunc110 ✓59ms168724kbC++20904b2024-09-27 23:49:392024-09-27 23:49:40

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 20
Accepted

Test #1:

score: 20
Accepted
time: 1ms
memory: 5696kb

input:

2 3

output:

4

result:

ok single line: '4'

Test #2:

score: 20
Accepted
time: 1ms
memory: 5720kb

input:

5 18

output:

218

result:

ok single line: '218'

Test #3:

score: 20
Accepted
time: 1ms
memory: 7744kb

input:

9 18

output:

1980

result:

ok single line: '1980'

Test #4:

score: 20
Accepted
time: 1ms
memory: 5732kb

input:

15 9

output:

9564

result:

ok single line: '9564'

Test #5:

score: 20
Accepted
time: 1ms
memory: 5820kb

input:

16 18

output:

66116

result:

ok single line: '66116'

Test #6:

score: 20
Accepted
time: 1ms
memory: 7856kb

input:

18 10

output:

43140

result:

ok single line: '43140'

Test #7:

score: 20
Accepted
time: 1ms
memory: 5704kb

input:

18 18

output:

170888

result:

ok single line: '170888'

Subtask #2:

score: 30
Accepted

Dependency #1:

100%
Accepted

Test #8:

score: 30
Accepted
time: 1ms
memory: 5696kb

input:

2 49

output:

96

result:

ok single line: '96'

Test #9:

score: 30
Accepted
time: 1ms
memory: 5656kb

input:

7 38

output:

1598

result:

ok single line: '1598'

Test #10:

score: 30
Accepted
time: 1ms
memory: 5780kb

input:

19 6

output:

5524

result:

ok single line: '5524'

Test #11:

score: 30
Accepted
time: 1ms
memory: 5740kb

input:

31 49

output:

369127208

result:

ok single line: '369127208'

Test #12:

score: 30
Accepted
time: 0ms
memory: 5848kb

input:

44 30

output:

310756420

result:

ok single line: '310756420'

Test #13:

score: 30
Accepted
time: 1ms
memory: 5700kb

input:

49 2

output:

2

result:

ok single line: '2'

Test #14:

score: 30
Accepted
time: 1ms
memory: 5900kb

input:

50 50

output:

375733561

result:

ok single line: '375733561'

Subtask #3:

score: 30
Accepted

Dependency #1:

100%
Accepted

Dependency #2:

100%
Accepted

Test #15:

score: 30
Accepted
time: 1ms
memory: 5760kb

input:

2 319

output:

636

result:

ok single line: '636'

Test #16:

score: 30
Accepted
time: 1ms
memory: 7932kb

input:

89 44

output:

999831996

result:

ok single line: '999831996'

Test #17:

score: 30
Accepted
time: 2ms
memory: 11040kb

input:

280 279

output:

332244975

result:

ok single line: '332244975'

Test #18:

score: 30
Accepted
time: 0ms
memory: 11072kb

input:

282 500

output:

344135056

result:

ok single line: '344135056'

Test #19:

score: 30
Accepted
time: 0ms
memory: 10920kb

input:

464 211

output:

629248621

result:

ok single line: '629248621'

Test #20:

score: 30
Accepted
time: 0ms
memory: 18456kb

input:

499 500

output:

732883324

result:

ok single line: '732883324'

Test #21:

score: 30
Accepted
time: 1ms
memory: 5700kb

input:

500 2

output:

2

result:

ok single line: '2'

Test #22:

score: 30
Accepted
time: 0ms
memory: 13556kb

input:

500 324

output:

992004807

result:

ok single line: '992004807'

Subtask #4:

score: 30
Accepted

Dependency #1:

100%
Accepted

Dependency #2:

100%
Accepted

Dependency #3:

100%
Accepted

Test #23:

score: 30
Accepted
time: 0ms
memory: 5708kb

input:

2 4999

output:

9996

result:

ok single line: '9996'

Test #24:

score: 30
Accepted
time: 7ms
memory: 60332kb

input:

1988 4702

output:

182266147

result:

ok single line: '182266147'

Test #25:

score: 30
Accepted
time: 21ms
memory: 77128kb

input:

2500 5000

output:

765321947

result:

ok single line: '765321947'

Test #26:

score: 30
Accepted
time: 47ms
memory: 146596kb

input:

4388 4717

output:

253964546

result:

ok single line: '253964546'

Test #27:

score: 30
Accepted
time: 56ms
memory: 154960kb

input:

4611 4812

output:

467863120

result:

ok single line: '467863120'

Test #28:

score: 30
Accepted
time: 1ms
memory: 5592kb

input:

4825 2

output:

2

result:

ok single line: '2'

Test #29:

score: 30
Accepted
time: 1ms
memory: 5740kb

input:

5000 3

output:

10000

result:

ok single line: '10000'

Test #30:

score: 30
Accepted
time: 59ms
memory: 168724kb

input:

5000 5000

output:

325667260

result:

ok single line: '325667260'

Extra Test:

score: 0
Extra Test Passed