← All problemsSign in

Boring Soft Skill

The soft skills classes are the most boring. CandyZack being a mathematician is always curious about the number of ways of doing things. CandyZack is too lazy, so he will not go to soft skill classes regularly. He decided that he will not go to classes for more than 1 consecutive day. You will be given the number of classes in the semester. He even can have 0 attendance. Help him to plan the seme

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