QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#836812#9923. Ma Meilleure Ennemieucup-team1878#AC ✓448ms5388kbC++237.8kb2024-12-29 06:46:022024-12-29 06:46:07

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3624kb

input:

4 4

output:

6

result:

ok 1 number(s): "6"

Test #2:

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

input:

2338 1470

output:

18530141

result:

ok 1 number(s): "18530141"

Test #3:

score: 0
Accepted
time: 448ms
memory: 5088kb

input:

941958815880242160 945059392259579928

output:

57894579

result:

ok 1 number(s): "57894579"

Test #4:

score: 0
Accepted
time: 406ms
memory: 5220kb

input:

876240758958364800 893076802030549616

output:

620071951

result:

ok 1 number(s): "620071951"

Test #5:

score: 0
Accepted
time: 418ms
memory: 5008kb

input:

784965679900201800 821160182532263553

output:

66266543

result:

ok 1 number(s): "66266543"

Test #6:

score: 0
Accepted
time: 356ms
memory: 5120kb

input:

511140442725712800 686753968601283360

output:

297358720

result:

ok 1 number(s): "297358720"

Test #7:

score: 0
Accepted
time: 329ms
memory: 5280kb

input:

897612484786617600 946301485716311910

output:

898294924

result:

ok 1 number(s): "898294924"

Test #8:

score: 0
Accepted
time: 416ms
memory: 5352kb

input:

876240758958364800 949973670837969766

output:

258455620

result:

ok 1 number(s): "258455620"

Test #9:

score: 0
Accepted
time: 384ms
memory: 5388kb

input:

657180569218773600 863561658282273171

output:

674933697

result:

ok 1 number(s): "674933697"

Test #10:

score: 0
Accepted
time: 109ms
memory: 3944kb

input:

9350130049860600 186648010357925450

output:

70597352

result:

ok 1 number(s): "70597352"

Test #11:

score: 0
Accepted
time: 57ms
memory: 3776kb

input:

890488576177200 656051601794505564

output:

18986311

result:

ok 1 number(s): "18986311"

Test #12:

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

input:

301180038799975436 468464504626007448

output:

288952066

result:

ok 1 number(s): "288952066"

Test #13:

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

input:

523580256903724660 763948483254956750

output:

809203657

result:

ok 1 number(s): "809203657"

Test #14:

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

input:

789351011022563115 821578006156306391

output:

498840902

result:

ok 1 number(s): "498840902"

Test #15:

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

input:

999999999999999737 999999999999999992

output:

716070890

result:

ok 1 number(s): "716070890"

Test #16:

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

input:

999999999999999967 999999999999999976

output:

716070874

result:

ok 1 number(s): "716070874"

Test #17:

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

input:

999999874000003969 999999879650092039

output:

877014122

result:

ok 1 number(s): "877014122"

Test #18:

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

input:

999999274000130869 999999780452875480

output:

492898975

result:

ok 1 number(s): "492898975"

Test #19:

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

input:

999941001154992503 999975909388637582

output:

155276407

result:

ok 1 number(s): "155276407"

Test #20:

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

input:

999815008942884521 999872058299052785

output:

547534325

result:

ok 1 number(s): "547534325"

Test #21:

score: 0
Accepted
time: 331ms
memory: 5196kb

input:

897612484786617600 952878466220498188

output:

294147460

result:

ok 1 number(s): "294147460"

Test #22:

score: 0
Accepted
time: 303ms
memory: 5352kb

input:

961727662271376000 974988801671467969

output:

572742162

result:

ok 1 number(s): "572742162"

Test #23:

score: 0
Accepted
time: 406ms
memory: 5344kb

input:

876240758958364800 893903040913665744

output:

435836298

result:

ok 1 number(s): "435836298"

Test #24:

score: 0
Accepted
time: 334ms
memory: 5356kb

input:

897612484786617600 952878466220498188

output:

294147460

result:

ok 1 number(s): "294147460"

Test #25:

score: 0
Accepted
time: 210ms
memory: 5012kb

input:

970391875444992000 980657019550811949

output:

815016337

result:

ok 1 number(s): "815016337"

Test #26:

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

input:

1 1000000000000000000

output:

716070898

result:

ok 1 number(s): "716070898"

Test #27:

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

input:

916327 9000044616510005

output:

329767168

result:

ok 1 number(s): "329767168"

Test #28:

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

input:

7163391 998244353998244353

output:

438645041

result:

ok 1 number(s): "438645041"

Test #29:

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

input:

4033 4090

output:

392924428

result:

ok 1 number(s): "392924428"

Extra Test:

score: 0
Extra Test Passed