PROBLEM LINK:
DIFFICULTY:
CAKEWALK
PREREQUISITES:
None
PROBLEM:
The first line contains an integer T , total number of test cases. Then follow T lines, each line contains two Integers A and B .
EXPLANATION:
Find remainder when A is divided by B .
AUTHOR’S SOLUTION:
Author’s solution can be found here