TopCoder

User's AC Ratio

100.0% (1/1)

Submission's AC Ratio

50.0% (1/2)

Tags

Description

Input Format

Output Format

Sample Input 1

1 3 2

2 3 2

21 13 5

50216 9973 131

Sample Output 1

100

75825

142108

405787

Hints

NTUJ cannot show multiple samples, so we merged them here.

Problem Source

Migrated from old NTUJ.

shik

Subtasks

No. Testdata Range Score

Testdata and Limits

No. Time Limit (ms) Memory Limit (VSS, KiB) Output Limit (KiB) Subtasks
0 5000 65536 200
1 5000 65536 200
2 5000 65536 200
3 5000 65536 200
4 5000 65536 200
5 5000 65536 200
6 5000 65536 200
7 5000 65536 200
8 5000 65536 200
9 5000 65536 200
10 5000 65536 200
11 5000 65536 200
12 5000 65536 200
13 5000 65536 200
14 5000 65536 200
15 5000 65536 200
16 5000 65536 200
17 5000 65536 200
18 5000 65536 200
19 5000 65536 200
20 5000 65536 200
21 5000 65536 200
22 5000 65536 200
23 5000 65536 200
24 5000 65536 200
25 5000 65536 200
26 5000 65536 200
27 5000 65536 200
28 5000 65536 200
29 5000 65536 200
30 5000 65536 200
31 5000 65536 200
32 5000 65536 200
33 5000 65536 200
34 5000 65536 200
35 5000 65536 200
36 5000 65536 200
37 5000 65536 200
38 5000 65536 200