АВТ
Language:

Remote Training on Programming

Problems On-line status Contests FAQ
For authors:
Register  ||  Login
 
Hello, Guest! Login or register.

136. Factorial of Number

Time Limit: 1 seconds
Memory Limit:64000KB
Points:2
View Problem Statistics Submit Problem added Administrator

Нахождение факториала числа.

Вводится целое число N (1 <= N <= 12). Получить факториал числа N и вывести значение на экран.

Входные данные

Целое число N (от 1 до 12).

Выходные данные

Факториал числа N.

Пример входных данных

3

Пример выходных данных

6
Автор: Бутусов А.С.

View Problem Statistics Submit Author/source:
Educational Courses / Programming and Basics of Algorithmization / Cycles /
164. Draw Square 136. 130. Happy Ticket 169. Lucky Tickets 954. Number with max sum of divisors
We can all benefit by doing occasional "toy" programs, when artificial restrictions are set up, so that we are forced to push our abilities to the limit. The art of tackling miniproblems with all our energy will sharpen our talents for the real problems. Donald E. Knuth.
time generating 0.031 sec.
© Copyright VSTU, AVT, Nosov D.A.