Exponential
CodeChefOpen on judge ↗
Little Chef is learning differentiation and is amazed by the function ex as it stays the same even after differentiation. Just for fun, he tries to find out how large is the value of ex. He is able to see only 10 digits in his calculator so he wants you to answer his endless list of queries for different values of x. For each positive integer X that Little Chef gives you, you need to calculate t
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