Maya and her love
CodeChefOpen on judge ↗
Chef is a busy guy who loves coding. He has girlfriend Maya. she was so upset with chef's behavior. She went to a park and thought about her good days with the chef. She plucked a flower and started to tear the petals alternatively with inner voices(he loves me, loves me not) hoping she would get her answer from the flower. Find the answer before Maya. You will be given an integer(number of petal
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