QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#608612#384. 泳池3un_larryfunc100 ✓212ms11880kbC++172.9kb2024-10-03 23:44:072024-10-03 23:44:07

Details

Tip: Click on the bar to expand more detailed information

Pretests


Final Tests

Test #1:

score: 5
Accepted
time: 0ms
memory: 11676kb

input:

1 949 139078994 990651604

output:

330219622

result:

ok single line: '330219622'

Test #2:

score: 5
Accepted
time: 0ms
memory: 11668kb

input:

1 944 145496294 755116222

output:

930631836

result:

ok single line: '930631836'

Test #3:

score: 5
Accepted
time: 0ms
memory: 11752kb

input:

10 8 144842939 146358488

output:

375036401

result:

ok single line: '375036401'

Test #4:

score: 5
Accepted
time: 0ms
memory: 11760kb

input:

10 9 147875518 748368567

output:

709619968

result:

ok single line: '709619968'

Test #5:

score: 5
Accepted
time: 0ms
memory: 11680kb

input:

10 10 149567138 375202482

output:

38319127

result:

ok single line: '38319127'

Test #6:

score: 5
Accepted
time: 3ms
memory: 11784kb

input:

947 7 151913594 368520363

output:

141204133

result:

ok single line: '141204133'

Test #7:

score: 5
Accepted
time: 0ms
memory: 11748kb

input:

987 8 153223269 950558887

output:

846391446

result:

ok single line: '846391446'

Test #8:

score: 5
Accepted
time: 6ms
memory: 11880kb

input:

970 9 154292819 361838243

output:

181568951

result:

ok single line: '181568951'

Test #9:

score: 5
Accepted
time: 0ms
memory: 11752kb

input:

980 97 156846631 527638170

output:

20802473

result:

ok single line: '20802473'

Test #10:

score: 5
Accepted
time: 0ms
memory: 11720kb

input:

966 98 157883413 937194648

output:

179742710

result:

ok single line: '179742710'

Test #11:

score: 5
Accepted
time: 5ms
memory: 11692kb

input:

967 99 159400444 542443155

output:

238231981

result:

ok single line: '238231981'

Test #12:

score: 5
Accepted
time: 68ms
memory: 11676kb

input:

989 948 161746901 535761035

output:

876635506

result:

ok single line: '876635506'

Test #13:

score: 5
Accepted
time: 7ms
memory: 11744kb

input:

942 978 162609094 923732105

output:

236028500

result:

ok single line: '236028500'

Test #14:

score: 5
Accepted
time: 70ms
memory: 11752kb

input:

982 942 141042310 163263932

output:

741489934

result:

ok single line: '741489934'

Test #15:

score: 5
Accepted
time: 0ms
memory: 11752kb

input:

999971965 10 166090637 328362110

output:

412492049

result:

ok single line: '412492049'

Test #16:

score: 5
Accepted
time: 5ms
memory: 11788kb

input:

999975613 10 167334775 910367865

output:

8045707

result:

ok single line: '8045707'

Test #17:

score: 5
Accepted
time: 3ms
memory: 11756kb

input:

999975485 96 168371557 321679990

output:

549861210

result:

ok single line: '549861210'

Test #18:

score: 5
Accepted
time: 3ms
memory: 11744kb

input:

999980766 100 77923439 169888588

output:

278412314

result:

ok single line: '278412314'

Test #19:

score: 5
Accepted
time: 212ms
memory: 11700kb

input:

999993900 993 170990906 487479917

output:

265726301

result:

ok single line: '265726301'

Test #20:

score: 5
Accepted
time: 199ms
memory: 11748kb

input:

999974266 969 172060456 897003626

output:

219439784

result:

ok single line: '219439784'

Extra Test:

score: 0
Extra Test Passed