Quotient and remainder
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Two positive integers a and b are given. Print the quotient and the remainder of dividing a by b.
Input
Two positive integers a and b (a, b ≤ 10^9
).
Output
Print the quotient and the remainder of dividing a by b.
Examples
Input #1
Answer #1
Submissions 27K
Acceptance rate 54%