QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#454039#8221. 多方计算GuanYunchang16 29ms55696kbC++171.4kb2024-06-24 16:00:352024-06-24 16:00:36

詳細信息

Subtask #1:

score: 6
Acceptable Answer

Test #1:

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

input:

5 5 3185997250635081508 10243950506680270049

output:

4123764187654

result:

points 0.60 Correct Answer. 6

Test #2:

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

input:

5 5 3552483843587513799 14478819593833617714

output:

4123764187654

result:

points 0.60 Correct Answer. 6

Test #3:

score: 6
Acceptable Answer
time: 1ms
memory: 6068kb

input:

5 5 1049434279474537131 1049728252928449771

output:

4123764187654

result:

points 0.60 Correct Answer. 6

Test #4:

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

input:

5 5 8922384302424007645 1173548755077470934

output:

4123764187654

result:

points 0.60 Correct Answer. 6

Test #5:

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

input:

5 5 10436985171519237349 6372260076854600203

output:

4123764187654

result:

points 0.60 Correct Answer. 6

Test #6:

score: 6
Acceptable Answer
time: 1ms
memory: 6068kb

input:

5 5 3969271731891539589 872380446563047377

output:

4123764187654

result:

points 0.60 Correct Answer. 6

Test #7:

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

input:

5 5 10791248432551339097 10907238234860663613

output:

4123764187654

result:

points 0.60 Correct Answer. 6

Test #8:

score: 6
Acceptable Answer
time: 1ms
memory: 6064kb

input:

5 5 4133452284370185751 8351536681439074389

output:

4123764187654

result:

points 0.60 Correct Answer. 6

Test #9:

score: 6
Acceptable Answer
time: 1ms
memory: 6128kb

input:

5 5 4588466072500947787 2668799652971323944

output:

4123764187654

result:

points 0.60 Correct Answer. 6

Test #10:

score: 6
Acceptable Answer
time: 1ms
memory: 8008kb

input:

5 5 14152525429264304911 13775135703660625045

output:

4123764187654

result:

points 0.60 Correct Answer. 6

Test #11:

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

input:

5 5 7421526808561975748 10544499515413224856

output:

4123764187654

result:

points 0.60 Correct Answer. 6

Test #12:

score: 6
Acceptable Answer
time: 1ms
memory: 5976kb

input:

5 5 10533068226990172617 16920379813521486362

output:

4123764187654

result:

points 0.60 Correct Answer. 6

Test #13:

score: 6
Acceptable Answer
time: 0ms
memory: 5964kb

input:

5 5 12984923981069466020 10402168891728084823

output:

4123764187654

result:

points 0.60 Correct Answer. 6

Test #14:

score: 6
Acceptable Answer
time: 0ms
memory: 6020kb

input:

5 5 4547699393608837176 17811338561394180193

output:

4123764187654

result:

points 0.60 Correct Answer. 6

Test #15:

score: 6
Acceptable Answer
time: 0ms
memory: 5980kb

input:

5 5 7797814030854767695 12994778421940209897

output:

4123764187654

result:

points 0.60 Correct Answer. 6

Test #16:

score: 6
Acceptable Answer
time: 0ms
memory: 8044kb

input:

5 5 13586090146748389854 8573353291555348877

output:

4123764187654

result:

points 0.60 Correct Answer. 6

Test #17:

score: 6
Acceptable Answer
time: 0ms
memory: 6060kb

input:

5 5 7492677468637862337 17412579963708759713

output:

4123764187654

result:

points 0.60 Correct Answer. 6

Test #18:

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

input:

5 5 12538610689378370624 10934031436815865430

output:

4123764187654

result:

points 0.60 Correct Answer. 6

Test #19:

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

input:

5 5 6318529188948278594 4765084946625953274

output:

4123764187654

result:

points 0.60 Correct Answer. 6

Test #20:

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

input:

5 5 12764462787770553234 16031550997283183642

output:

4123764187654

result:

points 0.60 Correct Answer. 6

Test #21:

score: 6
Acceptable Answer
time: 1ms
memory: 5976kb

input:

5 5 16850625473722229566 12858849229956583645

output:

4123764187654

result:

points 0.60 Correct Answer. 6

Test #22:

score: 6
Acceptable Answer
time: 0ms
memory: 5920kb

input:

5 5 3916752702561709368 14568996895902750709

output:

4123764187654

result:

points 0.60 Correct Answer. 6

Test #23:

score: 6
Acceptable Answer
time: 0ms
memory: 5976kb

input:

5 5 2793964619809963444 14799430123914266097

output:

4123764187654

result:

points 0.60 Correct Answer. 6

Test #24:

score: 6
Acceptable Answer
time: 0ms
memory: 5980kb

input:

5 5 14022384786197322639 15644367891444293842

output:

4123764187654

result:

points 0.60 Correct Answer. 6

Test #25:

score: 6
Acceptable Answer
time: 0ms
memory: 5984kb

input:

5 5 4677661251438971503 7860382546781589019

output:

4123764187654

result:

points 0.60 Correct Answer. 6

Test #26:

score: 6
Acceptable Answer
time: 0ms
memory: 5884kb

input:

5 5 865745884266339793 3234925754863119957

output:

4123764187654

result:

points 0.60 Correct Answer. 6

Test #27:

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

input:

5 5 16601073251043052245 5101181031338699631

output:

4123764187654

result:

points 0.60 Correct Answer. 6

Test #28:

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

input:

5 5 4666335567338264413 17869704479146009894

output:

4123764187654

result:

points 0.60 Correct Answer. 6

Test #29:

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

input:

5 5 10276076269669835904 6933906736047769186

output:

4123764187654

result:

points 0.60 Correct Answer. 6

Test #30:

score: 6
Acceptable Answer
time: 1ms
memory: 6064kb

input:

5 5 3547072148765339907 5805660413096765891

output:

4123764187654

result:

points 0.60 Correct Answer. 6

Test #31:

score: 6
Acceptable Answer
time: 1ms
memory: 6064kb

input:

5 5 5905632931049428772 15089509813347254316

output:

4123764187654

result:

points 0.60 Correct Answer. 6

Test #32:

score: 6
Acceptable Answer
time: 1ms
memory: 5888kb

input:

5 5 6148686139569402051 6521476089554108987

output:

4123764187654

result:

points 0.60 Correct Answer. 6

Test #33:

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

input:

5 5 10293582518274215475 2676706070504789810

output:

4123764187654

result:

points 0.60 Correct Answer. 6

Test #34:

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

input:

5 5 6589510135221577212 2537901023039331965

output:

4123764187654

result:

points 0.60 Correct Answer. 6

Test #35:

score: 6
Acceptable Answer
time: 1ms
memory: 6008kb

input:

5 5 5329171491039567345 943883204937169735

output:

4123764187654

result:

points 0.60 Correct Answer. 6

Test #36:

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

input:

5 5 18153714120372683774 16958100625183201027

output:

4123764187654

result:

points 0.60 Correct Answer. 6

Subtask #2:

score: 10
Accepted

Test #37:

score: 10
Accepted
time: 12ms
memory: 32424kb

input:

1000 1 17833636513278974999 18032835279213373306

output:

4123764187658

result:

ok Perfect. 10

Test #38:

score: 10
Accepted
time: 11ms
memory: 31056kb

input:

1000 1 14730911653810224758 12266600726496100996

output:

4123764187658

result:

ok Perfect. 10

Test #39:

score: 10
Accepted
time: 9ms
memory: 30712kb

input:

1000 1 8799733959292548924 5387063902427699037

output:

4123764187658

result:

ok Perfect. 10

Test #40:

score: 10
Accepted
time: 14ms
memory: 31280kb

input:

1000 1 9630334707439747607 4291049102998855878

output:

4123764187658

result:

ok Perfect. 10

Test #41:

score: 10
Accepted
time: 10ms
memory: 32152kb

input:

1000 1 14659313773847015835 5872125537220100813

output:

4123764187658

result:

ok Perfect. 10

Test #42:

score: 10
Accepted
time: 7ms
memory: 31916kb

input:

1000 1 8843810642295111463 9289549733703682079

output:

4123764187658

result:

ok Perfect. 10

Test #43:

score: 10
Accepted
time: 13ms
memory: 31496kb

input:

1000 1 12506531245496737504 16568422609970603828

output:

4123764187658

result:

ok Perfect. 10

Test #44:

score: 10
Accepted
time: 14ms
memory: 30684kb

input:

1000 1 1687678405863133532 5008244365647721871

output:

4123764187658

result:

ok Perfect. 10

Test #45:

score: 10
Accepted
time: 9ms
memory: 31580kb

input:

1000 1 521330378415348792 8325284866479671525

output:

4123764187658

result:

ok Perfect. 10

Test #46:

score: 10
Accepted
time: 7ms
memory: 32712kb

input:

1000 1 6611871207626880018 9817110237545272117

output:

4123764187658

result:

ok Perfect. 10

Test #47:

score: 10
Accepted
time: 10ms
memory: 31292kb

input:

1000 1 15306541734406271267 14703264691591359191

output:

4123764187658

result:

ok Perfect. 10

Test #48:

score: 10
Accepted
time: 14ms
memory: 31452kb

input:

1000 1 3566881709297895710 7594566018112860837

output:

4123764187658

result:

ok Perfect. 10

Test #49:

score: 10
Accepted
time: 14ms
memory: 31312kb

input:

1000 1 4397454027521899216 7721560744364225236

output:

4123764187658

result:

ok Perfect. 10

Test #50:

score: 10
Accepted
time: 3ms
memory: 32288kb

input:

1000 1 5142075432412851988 16742257564666708908

output:

4123764187658

result:

ok Perfect. 10

Test #51:

score: 10
Accepted
time: 14ms
memory: 31996kb

input:

1000 1 12044326647208924489 2167359237561753365

output:

4123764187658

result:

ok Perfect. 10

Test #52:

score: 10
Accepted
time: 10ms
memory: 31680kb

input:

1000 1 16253907834346424870 11108645373354737991

output:

4123764187658

result:

ok Perfect. 10

Test #53:

score: 10
Accepted
time: 9ms
memory: 31920kb

input:

1000 1 16626499607125776891 8356934117282130057

output:

4123764187658

result:

ok Perfect. 10

Test #54:

score: 10
Accepted
time: 10ms
memory: 31252kb

input:

1000 1 3282168031615086167 3657599301669157549

output:

4123764187658

result:

ok Perfect. 10

Test #55:

score: 10
Accepted
time: 10ms
memory: 31520kb

input:

1000 1 14215560210789593083 15626251936339749845

output:

4123764187658

result:

ok Perfect. 10

Test #56:

score: 10
Accepted
time: 7ms
memory: 32056kb

input:

1000 1 2190592376641362424 13403200408316995773

output:

4123764187658

result:

ok Perfect. 10

Test #57:

score: 10
Accepted
time: 7ms
memory: 31512kb

input:

1000 1 11465558394225010724 2496884116655812179

output:

4123764187658

result:

ok Perfect. 10

Test #58:

score: 10
Accepted
time: 14ms
memory: 31596kb

input:

1000 1 18276809344802529187 9561628486185706823

output:

4123764187658

result:

ok Perfect. 10

Test #59:

score: 10
Accepted
time: 10ms
memory: 31148kb

input:

1000 1 7860122780923461882 10042766163912380121

output:

4123764187658

result:

ok Perfect. 10

Test #60:

score: 10
Accepted
time: 10ms
memory: 30676kb

input:

1000 1 12388686810101047811 3399743554629441239

output:

4123764187658

result:

ok Perfect. 10

Test #61:

score: 10
Accepted
time: 9ms
memory: 30072kb

input:

1000 1 14427576709382087754 13171985723510234618

output:

4123764187658

result:

ok Perfect. 10

Test #62:

score: 10
Accepted
time: 14ms
memory: 32172kb

input:

1000 1 7668903319567597796 8075077151477112929

output:

4123764187658

result:

ok Perfect. 10

Test #63:

score: 10
Accepted
time: 13ms
memory: 32616kb

input:

1000 1 14122766694312513270 6279188681168230824

output:

4123764187658

result:

ok Perfect. 10

Test #64:

score: 10
Accepted
time: 13ms
memory: 30656kb

input:

1000 1 5699987051542490697 8384784519684171122

output:

4123764187658

result:

ok Perfect. 10

Test #65:

score: 10
Accepted
time: 13ms
memory: 31420kb

input:

1000 1 11830949407183123854 9439666782273874030

output:

4123764187658

result:

ok Perfect. 10

Test #66:

score: 10
Accepted
time: 13ms
memory: 31820kb

input:

1000 1 9554889270917528521 11260732977199304707

output:

4123764187658

result:

ok Perfect. 10

Test #67:

score: 10
Accepted
time: 9ms
memory: 31128kb

input:

1000 1 17459479638232299425 11063210786482562440

output:

4123764187658

result:

ok Perfect. 10

Test #68:

score: 10
Accepted
time: 9ms
memory: 31872kb

input:

1000 1 15086329177686012536 8242831546145677467

output:

4123764187658

result:

ok Perfect. 10

Test #69:

score: 10
Accepted
time: 9ms
memory: 32108kb

input:

1000 1 15745267644798804685 16686857765674424216

output:

4123764187658

result:

ok Perfect. 10

Test #70:

score: 10
Accepted
time: 4ms
memory: 31580kb

input:

1000 1 9660862519797395098 1310528139508248324

output:

4123764187658

result:

ok Perfect. 10

Test #71:

score: 10
Accepted
time: 14ms
memory: 32088kb

input:

1000 1 3951648867737539370 17836842425696853386

output:

4123764187658

result:

ok Perfect. 10

Test #72:

score: 10
Accepted
time: 16ms
memory: 31716kb

input:

1000 1 3683735297104135564 13137254066150313412

output:

4123764187658

result:

ok Perfect. 10

Subtask #3:

score: 0
Wrong Answer

Test #73:

score: 0
Wrong Answer
time: 10ms
memory: 32560kb

input:

1000 10 7581650225429700886 16046788410942473709

output:

4123764187648

result:

points 0.0 Correct Answer. 0

Subtask #4:

score: 0
Wrong Answer

Test #109:

score: 0
Wrong Answer
time: 4ms
memory: 31136kb

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: 5948kb

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: 6032kb

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: 3ms
memory: 19668kb

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: 8ms
memory: 31508kb

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: 18ms
memory: 44852kb

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: 29ms
memory: 55696kb

input:

2000 2000 6596342253746377097 6195418207254921855

output:

4123764187648

result:

points 0.0 Correct Answer. 0