Help Shruti
CodeChefOpen on judge ↗
Shruti is very enthusiastic about Mathematics and always used to keep herself busy with challenges. She has a question in her mind but due to vacation and packing, she is busy and wants you to solve the problem. Given a number N as input find total numbers between 1 to N inclusive such that they have odd number of divisors. Input The first line of the input contains a single integer T denoting
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