QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#593201#5637. M-ary PartitionsZhaoZiLong0 0ms0kbC++17994b2024-09-27 12:35:422024-09-27 12:35:42

详细


Pretests


Final Tests

Test #1:

score: 0
Time Limit Exceeded

input:

1000
1 3 9
2 3 47
3 5 123
4 7 4321
5 97 9999
6 6 216
7 90 8761
8 5 7720
9 6 4515
10 6 3309
11 5 6923
12 6 3986
13 4 5626
14 3 1036
15 8 1680
16 67 1633
17 3 1190
18 3 1383
19 31 7080
20 8 1632
21 9 7
22 4 3772
23 4 1323
24 25 9714
25 16 1881
26 9 8611
27 4 1155
28 8 3175
29 4 79
30 5 5708
31 4 4346
...

output:


result: