QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#863662#9923. Ma Meilleure Ennemieucup-team4744TL 1411ms5964kbC++144.7kb2025-01-19 20:58:542025-01-19 20:59:03

詳細信息

Test #1:

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

input:

4 4

output:

6

result:

ok 1 number(s): "6"

Test #2:

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

input:

2338 1470

output:

18530141

result:

ok 1 number(s): "18530141"

Test #3:

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

input:

941958815880242160 945059392259579928

output:

57894579

result:

ok 1 number(s): "57894579"

Test #4:

score: 0
Accepted
time: 1280ms
memory: 5532kb

input:

876240758958364800 893076802030549616

output:

620071951

result:

ok 1 number(s): "620071951"

Test #5:

score: 0
Accepted
time: 1308ms
memory: 5704kb

input:

784965679900201800 821160182532263553

output:

66266543

result:

ok 1 number(s): "66266543"

Test #6:

score: 0
Accepted
time: 1115ms
memory: 5964kb

input:

511140442725712800 686753968601283360

output:

297358720

result:

ok 1 number(s): "297358720"

Test #7:

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

input:

897612484786617600 946301485716311910

output:

898294924

result:

ok 1 number(s): "898294924"

Test #8:

score: 0
Accepted
time: 1277ms
memory: 5704kb

input:

876240758958364800 949973670837969766

output:

258455620

result:

ok 1 number(s): "258455620"

Test #9:

score: 0
Accepted
time: 1206ms
memory: 5704kb

input:

657180569218773600 863561658282273171

output:

674933697

result:

ok 1 number(s): "674933697"

Test #10:

score: 0
Accepted
time: 325ms
memory: 3456kb

input:

9350130049860600 186648010357925450

output:

70597352

result:

ok 1 number(s): "70597352"

Test #11:

score: 0
Accepted
time: 179ms
memory: 5704kb

input:

890488576177200 656051601794505564

output:

18986311

result:

ok 1 number(s): "18986311"

Test #12:

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

input:

301180038799975436 468464504626007448

output:

288952066

result:

ok 1 number(s): "288952066"

Test #13:

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

input:

523580256903724660 763948483254956750

output:

809203657

result:

ok 1 number(s): "809203657"

Test #14:

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

input:

789351011022563115 821578006156306391

output:

498840902

result:

ok 1 number(s): "498840902"

Test #15:

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

input:

999999999999999737 999999999999999992

output:

716070890

result:

ok 1 number(s): "716070890"

Test #16:

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

input:

999999999999999967 999999999999999976

output:

716070874

result:

ok 1 number(s): "716070874"

Test #17:

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

input:

999999874000003969 999999879650092039

output:

877014122

result:

ok 1 number(s): "877014122"

Test #18:

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

input:

999999274000130869 999999780452875480

output:

492898975

result:

ok 1 number(s): "492898975"

Test #19:

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

input:

999941001154992503 999975909388637582

output:

155276407

result:

ok 1 number(s): "155276407"

Test #20:

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

input:

999815008942884521 999872058299052785

output:

547534325

result:

ok 1 number(s): "547534325"

Test #21:

score: 0
Accepted
time: 1007ms
memory: 5552kb

input:

897612484786617600 952878466220498188

output:

294147460

result:

ok 1 number(s): "294147460"

Test #22:

score: 0
Accepted
time: 913ms
memory: 5668kb

input:

961727662271376000 974988801671467969

output:

572742162

result:

ok 1 number(s): "572742162"

Test #23:

score: 0
Accepted
time: 1287ms
memory: 5704kb

input:

876240758958364800 893903040913665744

output:

435836298

result:

ok 1 number(s): "435836298"

Test #24:

score: 0
Accepted
time: 1007ms
memory: 5700kb

input:

897612484786617600 952878466220498188

output:

294147460

result:

ok 1 number(s): "294147460"

Test #25:

score: 0
Accepted
time: 627ms
memory: 5960kb

input:

970391875444992000 980657019550811949

output:

815016337

result:

ok 1 number(s): "815016337"

Test #26:

score: -100
Time Limit Exceeded

input:

1 1000000000000000000

output:


result: