Sahil The Anime Lover
CodeChefOpen on judge ↗
Sahil is the greatest anime lover of all time. He loves to watch anime at any time of the day. He has unlimited collections of anime. Suppose N is total number of anime episodes watched by him. Anime Factor is given by Z=Sum of all the prime numbers which are less than equal to N. Help him find the anime factor. Input - First line contains no of test cases. - Each line of test case contains an
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