P5739 【深基7.例7】计算阶乘

题目描述

求 $n!$,也就是 $1\times2\times3\dots\times n$。 挑战:尝试不使用循环语句(for、while)完成这个任务。

输入格式

输出格式

说明/提示

数据保证,$1 \leq n\le12$。