QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#564068#384. 泳池5un_xiaomivita_mbox100 ✓161ms8112kbC++145.4kb2024-09-14 19:41:292024-09-14 19:41:30

Details

Tip: Click on the bar to expand more detailed information

Pretests


Final Tests

Test #1:

score: 5
Accepted
time: 8ms
memory: 7740kb

input:

1 949 139078994 990651604

output:

330219622

result:

ok single line: '330219622'

Test #2:

score: 5
Accepted
time: 8ms
memory: 7860kb

input:

1 944 145496294 755116222

output:

930631836

result:

ok single line: '930631836'

Test #3:

score: 5
Accepted
time: 2ms
memory: 8048kb

input:

10 8 144842939 146358488

output:

375036401

result:

ok single line: '375036401'

Test #4:

score: 5
Accepted
time: 2ms
memory: 7800kb

input:

10 9 147875518 748368567

output:

709619968

result:

ok single line: '709619968'

Test #5:

score: 5
Accepted
time: 2ms
memory: 7788kb

input:

10 10 149567138 375202482

output:

38319127

result:

ok single line: '38319127'

Test #6:

score: 5
Accepted
time: 1ms
memory: 7788kb

input:

947 7 151913594 368520363

output:

141204133

result:

ok single line: '141204133'

Test #7:

score: 5
Accepted
time: 1ms
memory: 8080kb

input:

987 8 153223269 950558887

output:

846391446

result:

ok single line: '846391446'

Test #8:

score: 5
Accepted
time: 1ms
memory: 7764kb

input:

970 9 154292819 361838243

output:

181568951

result:

ok single line: '181568951'

Test #9:

score: 5
Accepted
time: 2ms
memory: 7796kb

input:

980 97 156846631 527638170

output:

20802473

result:

ok single line: '20802473'

Test #10:

score: 5
Accepted
time: 2ms
memory: 8080kb

input:

966 98 157883413 937194648

output:

179742710

result:

ok single line: '179742710'

Test #11:

score: 5
Accepted
time: 2ms
memory: 7880kb

input:

967 99 159400444 542443155

output:

238231981

result:

ok single line: '238231981'

Test #12:

score: 5
Accepted
time: 52ms
memory: 7908kb

input:

989 948 161746901 535761035

output:

876635506

result:

ok single line: '876635506'

Test #13:

score: 5
Accepted
time: 56ms
memory: 7756kb

input:

942 978 162609094 923732105

output:

236028500

result:

ok single line: '236028500'

Test #14:

score: 5
Accepted
time: 53ms
memory: 7908kb

input:

982 942 141042310 163263932

output:

741489934

result:

ok single line: '741489934'

Test #15:

score: 5
Accepted
time: 2ms
memory: 7896kb

input:

999971965 10 166090637 328362110

output:

412492049

result:

ok single line: '412492049'

Test #16:

score: 5
Accepted
time: 2ms
memory: 7772kb

input:

999975613 10 167334775 910367865

output:

8045707

result:

ok single line: '8045707'

Test #17:

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

input:

999975485 96 168371557 321679990

output:

549861210

result:

ok single line: '549861210'

Test #18:

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

input:

999980766 100 77923439 169888588

output:

278412314

result:

ok single line: '278412314'

Test #19:

score: 5
Accepted
time: 161ms
memory: 8112kb

input:

999993900 993 170990906 487479917

output:

265726301

result:

ok single line: '265726301'

Test #20:

score: 5
Accepted
time: 157ms
memory: 7812kb

input:

999974266 969 172060456 897003626

output:

219439784

result:

ok single line: '219439784'

Extra Test:

score: 0
Extra Test Passed