QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#453968#8221. 多方计算HuangHanSheng3 73ms57360kbC++20528b2024-06-24 15:18:442024-06-24 15:18:45

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 1
Acceptable Answer

Test #1:

score: 1
Acceptable Answer
time: 0ms
memory: 5900kb

input:

5 5 3185997250635081508 10243950506680270049

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #2:

score: 1
Acceptable Answer
time: 1ms
memory: 5956kb

input:

5 5 3552483843587513799 14478819593833617714

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #3:

score: 1
Acceptable Answer
time: 0ms
memory: 6004kb

input:

5 5 1049434279474537131 1049728252928449771

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #4:

score: 1
Acceptable Answer
time: 1ms
memory: 5920kb

input:

5 5 8922384302424007645 1173548755077470934

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #5:

score: 1
Acceptable Answer
time: 1ms
memory: 6012kb

input:

5 5 10436985171519237349 6372260076854600203

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #6:

score: 1
Acceptable Answer
time: 1ms
memory: 5856kb

input:

5 5 3969271731891539589 872380446563047377

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #7:

score: 1
Acceptable Answer
time: 1ms
memory: 6016kb

input:

5 5 10791248432551339097 10907238234860663613

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #8:

score: 1
Acceptable Answer
time: 1ms
memory: 5940kb

input:

5 5 4133452284370185751 8351536681439074389

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #9:

score: 1
Acceptable Answer
time: 1ms
memory: 6088kb

input:

5 5 4588466072500947787 2668799652971323944

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #10:

score: 1
Acceptable Answer
time: 0ms
memory: 5860kb

input:

5 5 14152525429264304911 13775135703660625045

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #11:

score: 1
Acceptable Answer
time: 1ms
memory: 6028kb

input:

5 5 7421526808561975748 10544499515413224856

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #12:

score: 1
Acceptable Answer
time: 0ms
memory: 5956kb

input:

5 5 10533068226990172617 16920379813521486362

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #13:

score: 1
Acceptable Answer
time: 1ms
memory: 5944kb

input:

5 5 12984923981069466020 10402168891728084823

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #14:

score: 1
Acceptable Answer
time: 1ms
memory: 6004kb

input:

5 5 4547699393608837176 17811338561394180193

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #15:

score: 1
Acceptable Answer
time: 1ms
memory: 5984kb

input:

5 5 7797814030854767695 12994778421940209897

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #16:

score: 1
Acceptable Answer
time: 0ms
memory: 5896kb

input:

5 5 13586090146748389854 8573353291555348877

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #17:

score: 1
Acceptable Answer
time: 0ms
memory: 6084kb

input:

5 5 7492677468637862337 17412579963708759713

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #18:

score: 1
Acceptable Answer
time: 0ms
memory: 5952kb

input:

5 5 12538610689378370624 10934031436815865430

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #19:

score: 1
Acceptable Answer
time: 0ms
memory: 5956kb

input:

5 5 6318529188948278594 4765084946625953274

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #20:

score: 1
Acceptable Answer
time: 1ms
memory: 6028kb

input:

5 5 12764462787770553234 16031550997283183642

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #21:

score: 1
Acceptable Answer
time: 1ms
memory: 5908kb

input:

5 5 16850625473722229566 12858849229956583645

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #22:

score: 1
Acceptable Answer
time: 1ms
memory: 7876kb

input:

5 5 3916752702561709368 14568996895902750709

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #23:

score: 1
Acceptable Answer
time: 1ms
memory: 5884kb

input:

5 5 2793964619809963444 14799430123914266097

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #24:

score: 1
Acceptable Answer
time: 1ms
memory: 6004kb

input:

5 5 14022384786197322639 15644367891444293842

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #25:

score: 1
Acceptable Answer
time: 1ms
memory: 5948kb

input:

5 5 4677661251438971503 7860382546781589019

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #26:

score: 1
Acceptable Answer
time: 1ms
memory: 5860kb

input:

5 5 865745884266339793 3234925754863119957

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #27:

score: 1
Acceptable Answer
time: 1ms
memory: 5884kb

input:

5 5 16601073251043052245 5101181031338699631

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #28:

score: 1
Acceptable Answer
time: 1ms
memory: 5988kb

input:

5 5 4666335567338264413 17869704479146009894

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #29:

score: 1
Acceptable Answer
time: 1ms
memory: 8024kb

input:

5 5 10276076269669835904 6933906736047769186

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #30:

score: 1
Acceptable Answer
time: 1ms
memory: 6084kb

input:

5 5 3547072148765339907 5805660413096765891

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #31:

score: 1
Acceptable Answer
time: 1ms
memory: 5940kb

input:

5 5 5905632931049428772 15089509813347254316

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #32:

score: 1
Acceptable Answer
time: 1ms
memory: 7956kb

input:

5 5 6148686139569402051 6521476089554108987

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #33:

score: 1
Acceptable Answer
time: 1ms
memory: 6000kb

input:

5 5 10293582518274215475 2676706070504789810

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #34:

score: 1
Acceptable Answer
time: 1ms
memory: 5984kb

input:

5 5 6589510135221577212 2537901023039331965

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #35:

score: 1
Acceptable Answer
time: 1ms
memory: 5952kb

input:

5 5 5329171491039567345 943883204937169735

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #36:

score: 1
Acceptable Answer
time: 1ms
memory: 5948kb

input:

5 5 18153714120372683774 16958100625183201027

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Subtask #2:

score: 1
Acceptable Answer

Test #37:

score: 1
Acceptable Answer
time: 12ms
memory: 30900kb

input:

1000 1 17833636513278974999 18032835279213373306

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #38:

score: 1
Acceptable Answer
time: 12ms
memory: 32600kb

input:

1000 1 14730911653810224758 12266600726496100996

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #39:

score: 1
Acceptable Answer
time: 16ms
memory: 32508kb

input:

1000 1 8799733959292548924 5387063902427699037

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #40:

score: 1
Acceptable Answer
time: 13ms
memory: 30792kb

input:

1000 1 9630334707439747607 4291049102998855878

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #41:

score: 1
Acceptable Answer
time: 17ms
memory: 32776kb

input:

1000 1 14659313773847015835 5872125537220100813

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #42:

score: 1
Acceptable Answer
time: 8ms
memory: 31748kb

input:

1000 1 8843810642295111463 9289549733703682079

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #43:

score: 1
Acceptable Answer
time: 12ms
memory: 30656kb

input:

1000 1 12506531245496737504 16568422609970603828

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #44:

score: 1
Acceptable Answer
time: 8ms
memory: 31708kb

input:

1000 1 1687678405863133532 5008244365647721871

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #45:

score: 1
Acceptable Answer
time: 12ms
memory: 32424kb

input:

1000 1 521330378415348792 8325284866479671525

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #46:

score: 1
Acceptable Answer
time: 12ms
memory: 31472kb

input:

1000 1 6611871207626880018 9817110237545272117

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #47:

score: 1
Acceptable Answer
time: 8ms
memory: 31200kb

input:

1000 1 15306541734406271267 14703264691591359191

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #48:

score: 1
Acceptable Answer
time: 8ms
memory: 32008kb

input:

1000 1 3566881709297895710 7594566018112860837

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #49:

score: 1
Acceptable Answer
time: 8ms
memory: 32008kb

input:

1000 1 4397454027521899216 7721560744364225236

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #50:

score: 1
Acceptable Answer
time: 8ms
memory: 30872kb

input:

1000 1 5142075432412851988 16742257564666708908

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #51:

score: 1
Acceptable Answer
time: 10ms
memory: 31360kb

input:

1000 1 12044326647208924489 2167359237561753365

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #52:

score: 1
Acceptable Answer
time: 13ms
memory: 30116kb

input:

1000 1 16253907834346424870 11108645373354737991

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #53:

score: 1
Acceptable Answer
time: 13ms
memory: 30884kb

input:

1000 1 16626499607125776891 8356934117282130057

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #54:

score: 1
Acceptable Answer
time: 17ms
memory: 31840kb

input:

1000 1 3282168031615086167 3657599301669157549

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #55:

score: 1
Acceptable Answer
time: 12ms
memory: 32020kb

input:

1000 1 14215560210789593083 15626251936339749845

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #56:

score: 1
Acceptable Answer
time: 8ms
memory: 32544kb

input:

1000 1 2190592376641362424 13403200408316995773

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #57:

score: 1
Acceptable Answer
time: 12ms
memory: 31464kb

input:

1000 1 11465558394225010724 2496884116655812179

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #58:

score: 1
Acceptable Answer
time: 13ms
memory: 32504kb

input:

1000 1 18276809344802529187 9561628486185706823

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #59:

score: 1
Acceptable Answer
time: 17ms
memory: 31284kb

input:

1000 1 7860122780923461882 10042766163912380121

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #60:

score: 1
Acceptable Answer
time: 13ms
memory: 31460kb

input:

1000 1 12388686810101047811 3399743554629441239

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #61:

score: 1
Acceptable Answer
time: 13ms
memory: 30700kb

input:

1000 1 14427576709382087754 13171985723510234618

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #62:

score: 1
Acceptable Answer
time: 13ms
memory: 31292kb

input:

1000 1 7668903319567597796 8075077151477112929

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #63:

score: 1
Acceptable Answer
time: 10ms
memory: 32360kb

input:

1000 1 14122766694312513270 6279188681168230824

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #64:

score: 1
Acceptable Answer
time: 8ms
memory: 31920kb

input:

1000 1 5699987051542490697 8384784519684171122

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #65:

score: 1
Acceptable Answer
time: 8ms
memory: 31100kb

input:

1000 1 11830949407183123854 9439666782273874030

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #66:

score: 1
Acceptable Answer
time: 8ms
memory: 32420kb

input:

1000 1 9554889270917528521 11260732977199304707

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #67:

score: 1
Acceptable Answer
time: 8ms
memory: 31592kb

input:

1000 1 17459479638232299425 11063210786482562440

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #68:

score: 1
Acceptable Answer
time: 10ms
memory: 30840kb

input:

1000 1 15086329177686012536 8242831546145677467

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #69:

score: 1
Acceptable Answer
time: 13ms
memory: 31852kb

input:

1000 1 15745267644798804685 16686857765674424216

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #70:

score: 1
Acceptable Answer
time: 12ms
memory: 32420kb

input:

1000 1 9660862519797395098 1310528139508248324

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #71:

score: 1
Acceptable Answer
time: 10ms
memory: 32588kb

input:

1000 1 3951648867737539370 17836842425696853386

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #72:

score: 1
Acceptable Answer
time: 12ms
memory: 32380kb

input:

1000 1 3683735297104135564 13137254066150313412

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Subtask #3:

score: 1
Acceptable Answer

Test #73:

score: 1
Acceptable Answer
time: 8ms
memory: 31320kb

input:

1000 10 7581650225429700886 16046788410942473709

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #74:

score: 1
Acceptable Answer
time: 8ms
memory: 30304kb

input:

1000 10 14537469660092572204 15487160242871277135

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #75:

score: 1
Acceptable Answer
time: 7ms
memory: 31128kb

input:

1000 10 4971718706043853562 18391385355203803679

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #76:

score: 1
Acceptable Answer
time: 8ms
memory: 30168kb

input:

1000 10 6220037268301995888 16278635752092714254

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #77:

score: 1
Acceptable Answer
time: 12ms
memory: 30228kb

input:

1000 10 13003869813029460901 78867517061296991

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #78:

score: 1
Acceptable Answer
time: 12ms
memory: 32020kb

input:

1000 10 4278268311277744902 4384469125163838694

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #79:

score: 1
Acceptable Answer
time: 16ms
memory: 30912kb

input:

1000 10 12438753592825055167 17236482075173745548

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #80:

score: 1
Acceptable Answer
time: 8ms
memory: 32436kb

input:

1000 10 17346747783364362211 7528000636140799043

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #81:

score: 1
Acceptable Answer
time: 12ms
memory: 32608kb

input:

1000 10 4438938768454127105 11400849707395197330

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #82:

score: 1
Acceptable Answer
time: 7ms
memory: 30816kb

input:

1000 10 12809855989060518335 16096479664532822701

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #83:

score: 1
Acceptable Answer
time: 8ms
memory: 32620kb

input:

1000 10 1866324730478452587 12184760107709123044

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #84:

score: 1
Acceptable Answer
time: 12ms
memory: 31116kb

input:

1000 10 3385557446066551060 13320063460899920438

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #85:

score: 1
Acceptable Answer
time: 12ms
memory: 31068kb

input:

1000 10 2771533678859996832 4383486732818647108

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #86:

score: 1
Acceptable Answer
time: 8ms
memory: 31656kb

input:

1000 10 12943117603886392628 4963239483087442233

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #87:

score: 1
Acceptable Answer
time: 10ms
memory: 31316kb

input:

1000 10 2313703064704983170 6736870706983331092

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #88:

score: 1
Acceptable Answer
time: 13ms
memory: 31424kb

input:

1000 10 15804969878376580290 3548856895358739838

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #89:

score: 1
Acceptable Answer
time: 12ms
memory: 30896kb

input:

1000 10 9866080263333804889 8678830744093953826

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #90:

score: 1
Acceptable Answer
time: 13ms
memory: 30780kb

input:

1000 10 6751820871136111185 8848658341608259639

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #91:

score: 1
Acceptable Answer
time: 8ms
memory: 32556kb

input:

1000 10 11486054074739288989 2900919302828998560

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #92:

score: 1
Acceptable Answer
time: 8ms
memory: 30132kb

input:

1000 10 13832119382569826953 13634361971260976354

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #93:

score: 1
Acceptable Answer
time: 8ms
memory: 32564kb

input:

1000 10 4453410960153043101 13357409826523686900

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #94:

score: 1
Acceptable Answer
time: 12ms
memory: 31680kb

input:

1000 10 6074878447994378931 9512185237100875326

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #95:

score: 1
Acceptable Answer
time: 8ms
memory: 30012kb

input:

1000 10 12898383854853911815 17140959228886157821

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #96:

score: 1
Acceptable Answer
time: 10ms
memory: 30928kb

input:

1000 10 17877803113382829335 6155994847379122253

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #97:

score: 1
Acceptable Answer
time: 17ms
memory: 30916kb

input:

1000 10 5411127225557059691 8968502810098781048

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #98:

score: 1
Acceptable Answer
time: 12ms
memory: 31128kb

input:

1000 10 12839765246681509765 16133659220449519045

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #99:

score: 1
Acceptable Answer
time: 17ms
memory: 32532kb

input:

1000 10 10512080521412884683 4322091697636775176

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #100:

score: 1
Acceptable Answer
time: 10ms
memory: 32064kb

input:

1000 10 14839041853446568063 2900577407895090280

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #101:

score: 1
Acceptable Answer
time: 13ms
memory: 31172kb

input:

1000 10 555864648019475755 10623903714134539336

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #102:

score: 1
Acceptable Answer
time: 8ms
memory: 31828kb

input:

1000 10 15351408694997586068 13018688820428928134

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #103:

score: 1
Acceptable Answer
time: 8ms
memory: 30076kb

input:

1000 10 13781134732629544842 649106695383463671

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #104:

score: 1
Acceptable Answer
time: 12ms
memory: 31480kb

input:

1000 10 13103921156463006132 6008463984240882840

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #105:

score: 1
Acceptable Answer
time: 8ms
memory: 31064kb

input:

1000 10 13570315480591854059 16031003972511128594

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #106:

score: 1
Acceptable Answer
time: 17ms
memory: 32396kb

input:

1000 10 939728067048422960 6572615564422233011

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #107:

score: 1
Acceptable Answer
time: 10ms
memory: 32048kb

input:

1000 10 9730657778308128806 10818528495534558245

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Test #108:

score: 1
Acceptable Answer
time: 10ms
memory: 30276kb

input:

1000 10 14993828721272206953 16844668633587754736

output:

4123764187649

result:

points 0.10 Correct Answer. 1

Subtask #4:

score: 0
Wrong Answer

Test #109:

score: 0
Wrong Answer
time: 8ms
memory: 30740kb

input:

1000 30 15510757929061591914 2629686482095382587

output:

4123764187648

result:

points 0.0 Correct Answer. 0

Subtask #5:

score: 0
Wrong Answer

Test #145:

score: 0
Wrong Answer
time: 1ms
memory: 5892kb

input:

3 1000 341353812123787886 3685575517089631424

output:

4123764187648

result:

points 0.0 Correct Answer. 0

Subtask #6:

score: 0
Wrong Answer

Test #181:

score: 0
Wrong Answer
time: 0ms
memory: 8008kb

input:

10 1000 18326939717248212778 15447461170187547045

output:

4123764187648

result:

points 0.0 Correct Answer. 0

Subtask #7:

score: 0
Wrong Answer

Test #217:

score: 0
Wrong Answer
time: 12ms
memory: 18400kb

input:

500 1000 3911210051670624968 2787181900148297327

output:

4123764187648

result:

points 0.0 Correct Answer. 0

Subtask #8:

score: 0
Wrong Answer

Test #253:

score: 0
Wrong Answer
time: 25ms
memory: 31104kb

input:

1000 1000 2442055921391744378 15448328346037637846

output:

4123764187648

result:

points 0.0 Correct Answer. 0

Subtask #9:

score: 0
Wrong Answer

Test #289:

score: 0
Wrong Answer
time: 41ms
memory: 43816kb

input:

1500 1500 8660688640427922501 1436138393991664715

output:

4123764187648

result:

points 0.0 Correct Answer. 0

Subtask #10:

score: 0
Wrong Answer

Test #325:

score: 0
Wrong Answer
time: 73ms
memory: 57360kb

input:

2000 2000 6596342253746377097 6195418207254921855

output:

4123764187648

result:

points 0.0 Correct Answer. 0