← All problemsSign in

Vacation Excitement

CodeChefRating 144Open on judge ↗

Chef has planned a vacation with his friends in the month of March, and is really looking forward to it! The vacation begins on the $X$-th of March. As days get closer to the vacation date, Chef gets more and more excited for it. Chef's *excitement level* starts at $Y$ on March $1$. It will then increase by $1$ for every day that passes; so it will be $Y+1$ on March $2$-nd, $Y+2$ on March $3$-

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