HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Arithmetic > problem:


50522 - Multiplication Table - 2

Guest
• Review clarifications (1)

Section problems

• 50433 - Sum of Cubes
• 50871 - Harmonic Mean
• 50521 - Pound to Grams
• 50432 - Numbers and Squares
• 50510 - What floor are they?
• 50870 - ZScore normalization
• 50797 - Nr of Missing Guests
• 50518 - Histogram Equalization
• 50522 - Multiplication Table - 2
• 50814 - Buying Books from Internet
• 50812 - Total Discount for the clients
• 50435 - City Electric Bills
• 50527 - Sum of LCMs
• 50539 - Number of Chairs - 2
• 50532 - Close City
• 50379 - a^b modulus k
• 50404 - Sum of Self Powers

Feedback

If you notice incorrect translations in Contester, please let author know.

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



Для отправки решений необходимо выполнить вход.

www.contester.ru