QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#243132 | #6803. A Math Problem | LoverInTime | AC ✓ | 391ms | 1676kb | C++20 | 2.0kb | 2023-11-07 21:20:38 | 2023-11-07 21:20:39 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
Test #1:
score: 100
Accepted
time: 4ms
memory: 1676kb
input:
9 2 2 2 3 3 3 3 4 4 4 4 5 5 5 5 6 6 6
output:
2 12 36 216 1032 7200 46800 453600 3369600
result:
ok 9 lines
Test #2:
score: 0
Accepted
time: 391ms
memory: 1660kb
input:
100000 2 2 2 3 3 3 3 4 4 4 4 5 5 5 5 6 6 6 68 3 1 6 25 6 59 5 65 4 46 2 28 3 92 3 43 2 37 4 5 3 54 4 83 4 17 3 96 5 27 4 39 3 13 6 100 4 95 2 12 5 34 4 65 5 12 3 69 5 45 4 58 4 60 4 42 5 79 6 36 3 43 2 7 5 43 2 49 6 6 3 30 2 51 2 2 3 49 5 24 6 55 6 41 3 77 3 9 3 40 6 24 3 39 4 83 5 42 6 16 5 59 6 31...
output:
2 12 36 216 1032 7200 46800 453600 3369600 905024371 0 322554998 502631271 394073985 2 610612717 452571193 2 399090507 180 439852597 873753978 786420 264505384 285295014 534860230 507878995 682724278 2 823421593 198087375 380858652 24564 261280150 166988729 814718007 562199150 685262393 202425164 31...
result:
ok 100000 lines