Quals-I-2011-1
You are given three integers A, B and []. You should print value of the expression A - B * C.
InputIn the first line of the standard input there are given three non-negative integers A, B and C (0 <= A, B, C <= 2^32 - 1).
OutputOn the first, and the only, line of the standard output print the value A - B * C.
Note: In 50% of the test cases A, B and C will have values within the interval [0, 1000].
Ulaz:
[c]1 2 3
Izlaz:
Explanation:
1 - 2 * 3 = 1 - 6 = -5.
[c]1 2 3
Izlaz:
-5Explanation:
1 - 2 * 3 = 1 - 6 = -5.
Ulaz:
Izlaz:
0 0 0Izlaz:
0Submit solution
Coming laterThe grading service will be connected in a later migration step. You can inspect the task and your previous results now.