Factorial
CodeChefOpen on judge ↗
Simple Factorial You are asked to calculate factorials of some small positive integers. Input Input Tips: - An integer T, denoting the number of testcases, followed by T lines, each containing a single integer N. Output For each integer N given at input, output a single line the value of N! - If you have multiple test cases in a file start this section as: "For each test case, output a
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start