HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Volumes > Functions > problem:


003. 50432 - Numbers and Squares

Guest
• Discussion of problem (2)

Volume problems

• 50932 - Shifting rows and columns
• 50933 - Sum of the Biggest Neighbors
• 50834 - The train which leaves the f...
• 50435 - City Electric Bills
• 50527 - Sum of LCMs
• 51012 - Palindrome-k
• 50469 - Letter Grades
• 50539 - Number of Chairs - 2
• 003. 50432 - Numbers and Squa...
• 004. 50433 - Sum of Cubes
• 005. 50595 - Sum of the numbers
• 016. 50459 - The Biggest Digit
• 020. 50575 - Number of Prime num...
• 030. 50576 - Number of Perfect nu...
• 050. 50510 - What floor are they?
• 050. 50566 - Grade Point Average (...
• 066. 50523 - Total Tax to Pay

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.

Numbers and Squares

You are given two integers (a and b). Show the numbers from a to b with their squares.

Input specification
You will be given two integers (a and b) where 1 ≤ (a and b) ≤ 10000.

Output specification
Show space separated two numbers per line: the number and its square


Sample Input  
3 5
Sample Output  
3 9
4 16
5 25


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

www.contester.ru