Description

  1. Input an integern, which decides how many times steps 2–4 will be executed.
  2. Input two numbersaandbof typelong long int.
  3. Compute the quotient and remainder ofadivided byb.
  4. Print the result with:

printf("%lld / %lld = %lld + %lld\n", dividend_value, divisor_value, quotient_value, remainder_value);

Input

  1. First, inputnonce to decide how many times to repeat.
  2. In each of theniterations, first inputa, then inputb.
  3. ais the dividend,bis the divisor.

Output

If the dividenda = 100and the divisorb = 3, print:

printf("%lld / %lld = %lld + %lld\\n", 100, 3, 33, 1);

Here,100is the dividend,3is the divisor,33is the quotient, and1is the remainder.

Sample Input 1

Sample Output 1

3
1000 3
1000000 3
1000000000 3
printf("%lld / %lld = %lld + %lld\\n", 1000, 3, 333, 1);
printf("%lld / %lld = %lld + %lld\\n", 1000000, 3, 333333, 1);
printf("%lld / %lld = %lld + %lld\\n", 1000000000, 3, 333333333, 1);

Tips

Ans