← All problemsSign in

Ciel and Genjiko

CodeChefRating 2687Open on judge ↗

Genjiko is one of the Japanese traditional games. Chef Ciel will take place a variant version of genjiko in her restaurant. The rules of the game are the following: - The challenger must be blindfolded. - Ciel feeds the challenger one of the N foods menus of her restaurant, M times. - The challenger must answer whether the i-th food and the j-th food are same or not, for all 1 ≤ i j ≤ M. - Fo

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start