HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Volumes > Functions > problem:


002. 50428 - Three Times

Guest
• Review clarifications (2)

Volume problems

• 51003 - Double Prime
• 50435 - City Electric Bills
• 50527 - Sum of LCMs
• 50353 - Cube of the Largest number
• 50539 - Number of Chairs - 2
• 50469 - Letter Grades
• 51012 - Palindrome-k
• 50559 - Prime Factors of a Number
• 002. 50428 - Three Times
• 003. 50432 - Numbers and Squares
• 004. 50433 - Sum of Cubes
• 005. 50595 - Sum of the numbers
• 010. 50582 - Number of digits
• 016. 50459 - The Biggest Digit
• 020. 50575 - Number of Prime num...
• 030. 50576 - Number of Perfect nu...
• 035. 50467 - Random Numbers

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.
bfs.

Write the definition of a function that takes a decimal number as input and returns 3 times the value of the decimal number.

Then, in the main program format your output to show two decimal places (two digits after the floating point).
Input specification
There will be only one number in the input which is between 0 ≤ n ≤ 50000.
Output specification
Show 3 times the value of the given decimal number.

Input Output 1
2.5
7.50

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

www.contester.ru