Helping Sugam
CodeChefOpen on judge ↗
Problem description. Sugam is very interested in participating in IIIT Delhi’s annual Tech Fest Esya. He wants to pair with his friend for Esya’s Techathalon events. But his friend is very choosy. He asks Sugam to solve a problem if he wants to team up with him. Can you help Sugam in solving the problem? Problem : Find the sum of all the prime numbers between K and N(K and N are inclusive), whe
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