HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Volumes > Repetition (Loops) > problem:


004. 50522 - Multiplication Table - 2

Guest
• Review clarifications (1)

Volume problems

• 50832 - Rock Paper Scissors Lizard ...
• 51046 - The biggest number
• 50867 - Average of the Best Grades
• Reflektimi i pikes
• 50994 - The Most Crowded Station
• 51194 - The difference between max...
• 002. 50554 - nth power of m
• 004. 50424 - Area
• 004. 50522 - Multiplication Tab...
• 012. 50352 - Selling Cows
• 017. 50537 - esreveR Triangle
• 018. 50491 - Brokers
• 018. 50787 - Expected Value
• 020. 50485 - Center of gravity of a ...
• 024. 50372 - Number Quadruplets
• 025- 2013-Nov-01. 50328 - How far ...
• 026. 50487 - Radius of Inscribed Circle

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