QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#831305 | #9777. Balance in All Things | ucup-team4744 | AC ✓ | 2958ms | 863156kb | C++20 | 2.9kb | 2024-12-25 13:16:06 | 2024-12-25 13:16:07 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
Test #1:
score: 100
Accepted
time: 0ms
memory: 17964kb
input:
3 1 1000000007
output:
15
result:
ok single line: '15'
Test #2:
score: 0
Accepted
time: 8ms
memory: 127752kb
input:
100 3 1000000007
output:
894710378
result:
ok single line: '894710378'
Test #3:
score: 0
Accepted
time: 0ms
memory: 26120kb
input:
6 6 1000000007
output:
103387851
result:
ok single line: '103387851'
Test #4:
score: 0
Accepted
time: 0ms
memory: 13900kb
input:
2 6 998244353
output:
729
result:
ok single line: '729'
Test #5:
score: 0
Accepted
time: 2958ms
memory: 863156kb
input:
400 20 713862469
output:
561801910
result:
ok single line: '561801910'
Test #6:
score: 0
Accepted
time: 2555ms
memory: 834940kb
input:
397 17 861815723
output:
764050494
result:
ok single line: '764050494'
Test #7:
score: 0
Accepted
time: 2125ms
memory: 812876kb
input:
391 14 189546607
output:
131011086
result:
ok single line: '131011086'
Test #8:
score: 0
Accepted
time: 1740ms
memory: 776144kb
input:
382 11 922402597
output:
58290636
result:
ok single line: '58290636'
Test #9:
score: 0
Accepted
time: 1326ms
memory: 730604kb
input:
370 8 911997731
output:
823449745
result:
ok single line: '823449745'
Test #10:
score: 0
Accepted
time: 1016ms
memory: 674732kb
input:
355 5 708230279
output:
173013324
result:
ok single line: '173013324'
Test #11:
score: 0
Accepted
time: 1592ms
memory: 613044kb
input:
337 19 742344989
output:
592413780
result:
ok single line: '592413780'
Test #12:
score: 0
Accepted
time: 1423ms
memory: 605744kb
input:
334 16 816423319
output:
567577272
result:
ok single line: '567577272'
Test #13:
score: 0
Accepted
time: 1171ms
memory: 586216kb
input:
328 13 463459417
output:
77314092
result:
ok single line: '77314092'
Test #14:
score: 0
Accepted
time: 940ms
memory: 555968kb
input:
319 10 469180903
output:
94351928
result:
ok single line: '94351928'
Test #15:
score: 0
Accepted
time: 681ms
memory: 519248kb
input:
307 7 240226001
output:
147458009
result:
ok single line: '147458009'
Test #16:
score: 0
Accepted
time: 520ms
memory: 475256kb
input:
292 4 725635439
output:
275908993
result:
ok single line: '275908993'
Test #17:
score: 0
Accepted
time: 864ms
memory: 427696kb
input:
274 18 518962097
output:
200937333
result:
ok single line: '200937333'
Test #18:
score: 0
Accepted
time: 745ms
memory: 419244kb
input:
271 15 765905797
output:
683367155
result:
ok single line: '683367155'
Test #19:
score: 0
Accepted
time: 577ms
memory: 405568kb
input:
265 12 240076537
output:
6822852
result:
ok single line: '6822852'
Test #20:
score: 0
Accepted
time: 447ms
memory: 383884kb
input:
256 9 319057337
output:
9076486
result:
ok single line: '9076486'
Test #21:
score: 0
Accepted
time: 326ms
memory: 355612kb
input:
244 6 257631131
output:
53842743
result:
ok single line: '53842743'
Test #22:
score: 0
Accepted
time: 192ms
memory: 322372kb
input:
229 3 953863681
output:
247424565
result:
ok single line: '247424565'
Test #23:
score: 0
Accepted
time: 0ms
memory: 11844kb
input:
1 20 998244353
output:
1
result:
ok single line: '1'
Test #24:
score: 0
Accepted
time: 0ms
memory: 30220kb
input:
8 4 998244353
output:
740255777
result:
ok single line: '740255777'
Test #25:
score: 0
Accepted
time: 0ms
memory: 22096kb
input:
5 20 998244353
output:
725931122
result:
ok single line: '725931122'
Test #26:
score: 0
Accepted
time: 788ms
memory: 846432kb
input:
400 1 1000000007
output:
705610633
result:
ok single line: '705610633'
Test #27:
score: 0
Accepted
time: 1239ms
memory: 847228kb
input:
400 2 1000000007
output:
917456162
result:
ok single line: '917456162'
Test #28:
score: 0
Accepted
time: 2ms
memory: 11900kb
input:
1 1 1000000007
output:
1
result:
ok single line: '1'
Extra Test:
score: 0
Extra Test Passed