#B2009. Integer Division Expression Calculation
Integer Division Expression Calculation
Integer Division Expression Calculation
Given three integers a, b, and c, compute the value of the expression \(\frac{a+b}{c}\) using integer division. Here, the division operator \( / \) performs integer division, which truncates the result towards zero. You may assume that c is non-zero.
inputFormat
The input consists of a single line containing three space-separated integers: a, b, and c. You can assume that c \(\neq 0\).
outputFormat
Output a single integer representing the result of the expression \(\frac{a+b}{c}\) using integer division (truncation towards zero).
sample
1 2 3
1