Time limit 2000/4000/4000/4000 ms. Memory limit 65000/65000/65000/65000 Kb. Question by Ibrahim Mesecan.
Multiplication Table - 2
Print the multiplication tables of the given 2
numbers (a and b) for the given range from i to j.
Input specification
You will be given 4 integers which are between 1 and 10
- the first two integers are the numbers for which
you will print the multiplication tables
- the last two integers represent the range of
the multiplication tables. It's provided that the
first number is smaller than the second one.
Output specification
Show two integers per line. The numbers are the
multiples of a and b for the range i to j.
Sample Input I
3 2 2 5
|
Sample Output I
6 4
9 6
12 8
15 10
|
Для отправки решений необходимо выполнить вход.
|