Chef,The Programmer
CodeChefOpen on judge ↗
Problem Statement Being a programmer,chef like strings lot,so one day one of his friend raju needed his help to count the no of occurences of given character c in a given string s and to identify whether the count of character c is odd-prime or even-prime or not-prime number ? print oddprime if the answer is odd-prime number ,if the answer is even-prime print evenprime,if answer is not-prime numb
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