Akash and Missing Class
Akash loves going to school, but not on weekends. A week consists of $7$ days (Monday to Sunday). Akash takes a leave every **Saturday**. If a month consists of $N$ days and the **first-day** of the month is **Monday**, find the number of days Akash would take a leave in the whole month. ### Input - First line will contain $T$, the number of test cases. Then the test cases follow. - Each test
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