QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#654119#9116. DRD StringGuanYunchangWA 339ms19208kbC++11662b2024-10-18 21:06:572024-10-18 21:06:59

詳細信息

Test #1:

score: 100
Accepted
time: 1ms
memory: 5640kb

input:

6 2

output:

40

result:

ok "40"

Test #2:

score: 0
Accepted
time: 1ms
memory: 5596kb

input:

3017 7801

output:

515391664

result:

ok "515391664"

Test #3:

score: 0
Accepted
time: 0ms
memory: 5508kb

input:

3 1

output:

1

result:

ok "1"

Test #4:

score: 0
Accepted
time: 1ms
memory: 5632kb

input:

4 7

output:

343

result:

ok "343"

Test #5:

score: 0
Accepted
time: 1ms
memory: 5636kb

input:

5 4

output:

304

result:

ok "304"

Test #6:

score: 0
Accepted
time: 1ms
memory: 5628kb

input:

8 8

output:

2355200

result:

ok "2355200"

Test #7:

score: 0
Accepted
time: 1ms
memory: 5656kb

input:

7 6

output:

54216

result:

ok "54216"

Test #8:

score: 0
Accepted
time: 0ms
memory: 5584kb

input:

1330 3031

output:

139921223

result:

ok "139921223"

Test #9:

score: 0
Accepted
time: 2ms
memory: 5664kb

input:

4946 3837

output:

64102067

result:

ok "64102067"

Test #10:

score: 0
Accepted
time: 2ms
memory: 5652kb

input:

4236 3305

output:

78581604

result:

ok "78581604"

Test #11:

score: 0
Accepted
time: 1ms
memory: 5636kb

input:

399 3245

output:

714500544

result:

ok "714500544"

Test #12:

score: 0
Accepted
time: 2ms
memory: 5664kb

input:

4881 2346

output:

28365995

result:

ok "28365995"

Test #13:

score: 0
Accepted
time: 2ms
memory: 5664kb

input:

4647 3069

output:

798067847

result:

ok "798067847"

Test #14:

score: 0
Accepted
time: 1ms
memory: 5596kb

input:

3414 4280

output:

669878613

result:

ok "669878613"

Test #15:

score: 0
Accepted
time: 339ms
memory: 19208kb

input:

1000000 1000000

output:

469217978

result:

ok "469217978"

Test #16:

score: 0
Accepted
time: 335ms
memory: 19204kb

input:

1000000 1

output:

1

result:

ok "1"

Test #17:

score: 0
Accepted
time: 138ms
memory: 13564kb

input:

418909 302156

output:

189551565

result:

ok "189551565"

Test #18:

score: 0
Accepted
time: 326ms
memory: 19168kb

input:

984572 895728

output:

567020798

result:

ok "567020798"

Test #19:

score: 0
Accepted
time: 15ms
memory: 6072kb

input:

50545 723857

output:

651400574

result:

ok "651400574"

Test #20:

score: 0
Accepted
time: 219ms
memory: 18536kb

input:

668791 286918

output:

27505324

result:

ok "27505324"

Test #21:

score: 0
Accepted
time: 299ms
memory: 18352kb

input:

898539 238506

output:

9072376

result:

ok "9072376"

Test #22:

score: 0
Accepted
time: 234ms
memory: 17104kb

input:

711024 686568

output:

221989803

result:

ok "221989803"

Test #23:

score: 0
Accepted
time: 328ms
memory: 18976kb

input:

970385 660016

output:

104842944

result:

ok "104842944"

Test #24:

score: -100
Wrong Answer
time: 318ms
memory: 19132kb

input:

943632 224593

output:

-366465072

result:

wrong answer 1st words differ - expected: '631779281', found: '-366465072'