QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#431581#977. Local MaximacarrotqqAC ✓498ms218140kbC++141.1kb2024-06-05 19:19:062024-06-05 19:19:06

详细

Test #1:

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

input:

2 2 1000000007

output:

16

result:

ok "16"

Test #2:

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

input:

4 3 1000000007

output:

95800320

result:

ok "95800320"

Test #3:

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

input:

100 100 998244353

output:

848530760

result:

ok "848530760"

Test #4:

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

input:

79 78 435515903

output:

306910591

result:

ok "306910591"

Test #5:

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

input:

69 74 715090997

output:

611101520

result:

ok "611101520"

Test #6:

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

input:

77 67 221878187

output:

215381310

result:

ok "215381310"

Test #7:

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

input:

70 66 537039721

output:

352526401

result:

ok "352526401"

Test #8:

score: 0
Accepted
time: 426ms
memory: 184444kb

input:

2952 2408 973899449

output:

400429421

result:

ok "400429421"

Test #9:

score: 0
Accepted
time: 334ms
memory: 159848kb

input:

2484 2435 713449813

output:

79762013

result:

ok "79762013"

Test #10:

score: 0
Accepted
time: 400ms
memory: 203620kb

input:

2904 2783 227396761

output:

120446329

result:

ok "120446329"

Test #11:

score: 0
Accepted
time: 391ms
memory: 189536kb

input:

2654 2908 161249083

output:

100452853

result:

ok "100452853"

Test #12:

score: 0
Accepted
time: 436ms
memory: 193420kb

input:

2819 2657 722796007

output:

643358934

result:

ok "643358934"

Test #13:

score: 0
Accepted
time: 498ms
memory: 218140kb

input:

3000 3000 143115311

output:

76718331

result:

ok "76718331"