QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#593190#5637. M-ary PartitionsGuanYunchang0 0ms0kbC++201016b2024-09-27 12:27:292024-09-27 12:27:29

Details

Tip: Click on the bar to expand more detailed information

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: