Factorial Range
CodeChefOpen on judge ↗
Chef has become interested with factorials. Seeing his curiosity, his teacher has given him an exercise to find the sum of factorials from a given range $M$ to $N$ *(The teacher may have given m greater than n in which case the chef should report Answer not possible)*. Now being a beginner he asked Souhandya's help , a Math's genius but Souhandya being a busy person does not have the time and asks
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