CRUEL KING
CodeChefOpen on judge ↗
In the distant village of Codeganj, lived many coders and each spoke in some language. All lived in harmony until a new king was sworn-in. The king Bhartia suffered from a rare kind of Obsessive Compulsive Disorder. One day, his eyes fell on the peaceful village of Codeganj. He asked his minister to bring a report containing the number of coders who speak in each language. If the village does not
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