TopCoder

User's AC Ratio

0.0% (0/3)

Submission's AC Ratio

0.0% (0/16)

Tags

Description

Input Format

The correct constraint is $1 \leq N, M, K \leq 40$, instead of $1 \leq N, M, K \leq 30$.

Output Format

Sample Input 1

3 3 1

Sample Output 1

18

Hints

Problem Source

Migrated from old NTUJ.

Subtasks

No. Testdata Range Score

Testdata and Limits

No. Time Limit (ms) Memory Limit (VSS, KiB) Output Limit (KiB) Subtasks
0 5000 262144 131072
1 5000 262144 131072
2 5000 262144 131072
3 5000 262144 131072
4 5000 262144 131072
5 5000 262144 131072
6 5000 262144 131072
7 5000 262144 131072
8 5000 262144 131072
9 5000 262144 131072
10 5000 262144 131072
11 5000 262144 131072
12 5000 262144 131072
13 5000 262144 131072
14 5000 262144 131072
15 5000 262144 131072