NOVICE21 - Problem 1
Given three Integers A, B, and N. Find how many integers between A and B( inclusive ) are divisible by N. 0<=A<=B<=10^18, 1<=N<=10^18.
First line contains T the number of test cases. Each of next T lines contains 3 integer A, B, N.
For each test case print the answer in a new line.
1 4 3
10 20 6
There are blank lines in the input before t. Following that, the input matches the input description. If trying to solve this using C# you can create a try-catch block in a function to read t.