HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Volumes > Repetition (Loops) > problem:


004. 50522 - Multiplication Table - 2

Guest
• Review clarifications (1)

Volume problems

• 51194 - The difference between max...
• 001. 50385 - From m to n
• 002. 50365 - Sum of the numbers f...
• 002. 50452 - Multiplication Table
• 002. 50554 - nth power of m
• 003. 50387 - Passengers in the Train
• 003. 50358 - Series of Odd Numbers
• 004. 50424 - Area
• 004. 50522 - Multiplication Tab...
• 005. 50297 - Divisible By Five
• 006. 50293 - Sum of odd numbers f...
• 007. 50401 - Sum of Odd Numbers
• 009. 50783 - The smallest number
• 010. 50782 - Max of N integers
• 012. 50352 - Selling Cows
• 012. 50589 - The Number of Eggs Sold
• 015. 50466 - Drawing Square From...

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