Created
December 7, 2024 08:58
-
-
Save modos/5997de16f0495a7e285e380b0acedfbc to your computer and use it in GitHub Desktop.
ساقه طلایی شکلاتی
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
n, x, k = map(int, input().split()) | |
total_chocolate = (k - 1) * x if k > 1 else 0 | |
print(total_chocolate) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment