Chef and Chocolates
CodeChefOpen on judge ↗
Chef has a box of $N$ chocolates with different flavours $A_1,A_2,A_3 upto A_N$ , where $A_i$ denotes the flavour of $i^{th}$ chocolate. Chef considers a flavour of chocholate good if there is only one chocolate of that flavour in the box. Chef wants to know, how many good flavour of chocolates are there in the box. ###Input: - First line will contain $T$, number of te
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