#K13041. Truncated Division
Truncated Division
Truncated Division
Given two integers \(x\) and \(y\), your task is to compute the quotient of \(x\) divided by \(y\) by truncating the fractional part. In other words, find \(\lfloor \frac{x}{y} \rfloor\) where \(1 \le x \le 10^{18}\) and \(1 \le y < 10^{6}\).
Input: Two space-separated integers \(x\) and \(y\) provided via standard input.
Output: Output the truncated division result as an integer to standard output.
Note: The division is integer division, so the fractional part is discarded.
inputFormat
The first and only line of input contains two space-separated integers, (x) and (y).
outputFormat
Output a single integer which is the result of (x) divided by (y) after truncating the fractional part.## sample
1000000000000000000 3
333333333333333333