QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#454441#8221. 多方计算GuanYunchang3 107ms54852kbC++171.4kb2024-06-24 21:49:242024-06-24 21:49:24

详细

Subtask #1:

score: 3
Acceptable Answer

Test #1:

score: 3
Acceptable Answer
time: 1ms
memory: 5992kb

input:

5 5 3185997250635081508 10243950506680270049

output:

4123764187651

result:

points 0.30 Correct Answer. 3

Test #2:

score: 3
Acceptable Answer
time: 1ms
memory: 8040kb

input:

5 5 3552483843587513799 14478819593833617714

output:

4123764187651

result:

points 0.30 Correct Answer. 3

Test #3:

score: 3
Acceptable Answer
time: 1ms
memory: 6136kb

input:

5 5 1049434279474537131 1049728252928449771

output:

4123764187651

result:

points 0.30 Correct Answer. 3

Test #4:

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

input:

5 5 8922384302424007645 1173548755077470934

output:

4123764187651

result:

points 0.30 Correct Answer. 3

Test #5:

score: 3
Acceptable Answer
time: 1ms
memory: 6040kb

input:

5 5 10436985171519237349 6372260076854600203

output:

4123764187651

result:

points 0.30 Correct Answer. 3

Test #6:

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

input:

5 5 3969271731891539589 872380446563047377

output:

4123764187651

result:

points 0.30 Correct Answer. 3

Test #7:

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

input:

5 5 10791248432551339097 10907238234860663613

output:

4123764187651

result:

points 0.30 Correct Answer. 3

Test #8:

score: 3
Acceptable Answer
time: 1ms
memory: 5936kb

input:

5 5 4133452284370185751 8351536681439074389

output:

4123764187651

result:

points 0.30 Correct Answer. 3

Test #9:

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

input:

5 5 4588466072500947787 2668799652971323944

output:

4123764187651

result:

points 0.30 Correct Answer. 3

Test #10:

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

input:

5 5 14152525429264304911 13775135703660625045

output:

4123764187651

result:

points 0.30 Correct Answer. 3

Test #11:

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

input:

5 5 7421526808561975748 10544499515413224856

output:

4123764187651

result:

points 0.30 Correct Answer. 3

Test #12:

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

input:

5 5 10533068226990172617 16920379813521486362

output:

4123764187651

result:

points 0.30 Correct Answer. 3

Test #13:

score: 3
Acceptable Answer
time: 1ms
memory: 7988kb

input:

5 5 12984923981069466020 10402168891728084823

output:

4123764187651

result:

points 0.30 Correct Answer. 3

Test #14:

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

input:

5 5 4547699393608837176 17811338561394180193

output:

4123764187651

result:

points 0.30 Correct Answer. 3

Test #15:

score: 3
Acceptable Answer
time: 1ms
memory: 6020kb

input:

5 5 7797814030854767695 12994778421940209897

output:

4123764187651

result:

points 0.30 Correct Answer. 3

Test #16:

score: 3
Acceptable Answer
time: 1ms
memory: 5924kb

input:

5 5 13586090146748389854 8573353291555348877

output:

4123764187651

result:

points 0.30 Correct Answer. 3

Test #17:

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

input:

5 5 7492677468637862337 17412579963708759713

output:

4123764187651

result:

points 0.30 Correct Answer. 3

Test #18:

score: 3
Acceptable Answer
time: 1ms
memory: 7996kb

input:

5 5 12538610689378370624 10934031436815865430

output:

4123764187651

result:

points 0.30 Correct Answer. 3

Test #19:

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

input:

5 5 6318529188948278594 4765084946625953274

output:

4123764187651

result:

points 0.30 Correct Answer. 3

Test #20:

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

input:

5 5 12764462787770553234 16031550997283183642

output:

4123764187651

result:

points 0.30 Correct Answer. 3

Test #21:

score: 3
Acceptable Answer
time: 1ms
memory: 6020kb

input:

5 5 16850625473722229566 12858849229956583645

output:

4123764187651

result:

points 0.30 Correct Answer. 3

Test #22:

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

input:

5 5 3916752702561709368 14568996895902750709

output:

4123764187651

result:

points 0.30 Correct Answer. 3

Test #23:

score: 3
Acceptable Answer
time: 1ms
memory: 6076kb

input:

5 5 2793964619809963444 14799430123914266097

output:

4123764187651

result:

points 0.30 Correct Answer. 3

Test #24:

score: 3
Acceptable Answer
time: 1ms
memory: 6020kb

input:

5 5 14022384786197322639 15644367891444293842

output:

4123764187651

result:

points 0.30 Correct Answer. 3

Test #25:

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

input:

5 5 4677661251438971503 7860382546781589019

output:

4123764187651

result:

points 0.30 Correct Answer. 3

Test #26:

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

input:

5 5 865745884266339793 3234925754863119957

output:

4123764187651

result:

points 0.30 Correct Answer. 3

Test #27:

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

input:

5 5 16601073251043052245 5101181031338699631

output:

4123764187651

result:

points 0.30 Correct Answer. 3

Test #28:

score: 3
Acceptable Answer
time: 0ms
memory: 6072kb

input:

5 5 4666335567338264413 17869704479146009894

output:

4123764187651

result:

points 0.30 Correct Answer. 3

Test #29:

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

input:

5 5 10276076269669835904 6933906736047769186

output:

4123764187651

result:

points 0.30 Correct Answer. 3

Test #30:

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

input:

5 5 3547072148765339907 5805660413096765891

output:

4123764187651

result:

points 0.30 Correct Answer. 3

Test #31:

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

input:

5 5 5905632931049428772 15089509813347254316

output:

4123764187651

result:

points 0.30 Correct Answer. 3

Test #32:

score: 3
Acceptable Answer
time: 1ms
memory: 8108kb

input:

5 5 6148686139569402051 6521476089554108987

output:

4123764187651

result:

points 0.30 Correct Answer. 3

Test #33:

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

input:

5 5 10293582518274215475 2676706070504789810

output:

4123764187651

result:

points 0.30 Correct Answer. 3

Test #34:

score: 3
Acceptable Answer
time: 1ms
memory: 5936kb

input:

5 5 6589510135221577212 2537901023039331965

output:

4123764187651

result:

points 0.30 Correct Answer. 3

Test #35:

score: 3
Acceptable Answer
time: 1ms
memory: 6136kb

input:

5 5 5329171491039567345 943883204937169735

output:

4123764187651

result:

points 0.30 Correct Answer. 3

Test #36:

score: 3
Acceptable Answer
time: 0ms
memory: 6012kb

input:

5 5 18153714120372683774 16958100625183201027

output:

4123764187651

result:

points 0.30 Correct Answer. 3

Subtask #2:

score: 0
Wrong Answer

Test #37:

score: 3
Acceptable Answer
time: 11ms
memory: 32772kb

input:

1000 1 17833636513278974999 18032835279213373306

output:

4123764187651

result:

points 0.30 Correct Answer. 3

Test #38:

score: 3
Acceptable Answer
time: 11ms
memory: 31736kb

input:

1000 1 14730911653810224758 12266600726496100996

output:

4123764187651

result:

points 0.30 Correct Answer. 3

Test #39:

score: 3
Acceptable Answer
time: 11ms
memory: 30904kb

input:

1000 1 8799733959292548924 5387063902427699037

output:

4123764187651

result:

points 0.30 Correct Answer. 3

Test #40:

score: 0
Wrong Answer
time: 13ms
memory: 31444kb

input:

1000 1 9630334707439747607 4291049102998855878

output:

4123764187648

result:

points 0.0 Correct Answer. 0

Subtask #3:

score: 0
Wrong Answer

Test #73:

score: 0
Wrong Answer
time: 14ms
memory: 32104kb

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

input:

1000 30 15510757929061591914 2629686482095382587

output:

4123764187648

result:

points 0.0 Correct Answer. 0

Subtask #5:

score: 0
Wrong Answer

Test #145:

score: 3
Acceptable Answer
time: 1ms
memory: 5928kb

input:

3 1000 341353812123787886 3685575517089631424

output:

4123764187651

result:

points 0.30 Correct Answer. 3

Test #146:

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

input:

3 1000 17554024470069985393 14526118928412869541

output:

4123764187648

result:

points 0.0 Correct Answer. 0

Subtask #6:

score: 0
Wrong Answer

Test #181:

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

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: 9ms
memory: 19636kb

input:

500 1000 3911210051670624968 2787181900148297327

output:

4123764187648

result:

points 0.0 Correct Answer. 0

Subtask #8:

score: 0
Wrong Answer

Test #253:

score: 3
Acceptable Answer
time: 29ms
memory: 31416kb

input:

1000 1000 2442055921391744378 15448328346037637846

output:

4123764187651

result:

points 0.30 Correct Answer. 3

Test #254:

score: 0
Wrong Answer
time: 32ms
memory: 31600kb

input:

1000 1000 16647476705341035385 17846374371867977517

output:

4123764187648

result:

points 0.0 Correct Answer. 0

Subtask #9:

score: 0
Wrong Answer

Test #289:

score: 0
Wrong Answer
time: 56ms
memory: 44856kb

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: 107ms
memory: 54852kb

input:

2000 2000 6596342253746377097 6195418207254921855

output:

4123764187648

result:

points 0.0 Correct Answer. 0