← All problemsSign in

Weird Function

Chef and his friends are locked inside a room, to get out of the room they need to enter a password in a computer panel. This secret password can be obtained by calculating the value of a function $g(n,m)$, value of $n$ and $m$ will be given to you. Help Chef and his friends escape the room. You are given a function $f(n,m)$ which is defined as : ${f(n,m) = \begin{cases} \sum\lim

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start