Kaneki and Mysterious Item
CodeChefOpen on judge ↗
The war between CCG and ghouls is raising in Tokyo, Kaneki being king of ghouls is working hard to win this war. Touka has given a very important chest to Kaneki which will increase his ghoul army’s power significantly and might win them the war. But to open the chest Kaneki must solve a puzzle that is engraved on the lock of the chest. Kaneki has $N$ rectangles of width $W$ and height $H$. Kan
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