cf/mirror

Mysterious numbers - 2

CF
171G1600· expert2s256 MB⌨ stdin/stdout

Examples

Sample 1of 4
Input
2 3 2
Output
5
Sample 2of 4
Input
13 14 1
Output
14
Sample 3of 4
Input
14 5 9
Output
464
Sample 4of 4
Input
17 18 3
Output
53
171G.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)