SMS Analyzer
CodeChefOpen on judge ↗
Anil is a final year university student. He saw a beautiful girl Anarkali when he was walking to university Now he needs to find out whether she has a lover or not. He hacked into the mobile network and got access to her SMS history. She may has boyfriend if message contain words(flagged_words). love babe sweety life You need to print Probability of she is having a lover P(A) in
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