HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Arithmetic > problem:


50522 - Multiplication Table - 2

Guest
• Review clarifications (1)

Section problems

• 50871 - Harmonic Mean
• 50521 - Pound to Grams
• 50292 - Average of 4 Marks
• 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
• 51003 - Double Prime
• 50435 - City Electric Bills
• 50527 - Sum of LCMs
• 50440 - Call Center
• 50342 - 100 Factorial
• 50439 - Telephone Calls

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