India Vs Pakistan
CodeChefOpen on judge ↗
Everyone talks about the epic clash between India and Pakistan and we all know India always wins the battle. This time also it’s the same. However to make the battle an intresting one, you have to help Pakistan but only this time and tell how many runs will Virat Kholi score in this World Cup. Virat scores runs only in prime numbers and Pakistan know the range between which he is going to score.
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