Vipers Experiment
CodeChefOpen on judge ↗
"They will die. Hopeless… and afraid." — Viper Viper is a scientist and is working on making poisons to kill enemies. She has $N$ snakebites, each snakebite is denoted by a string consisting of lowercase latin letters from '$a$' to '$f$'. She can replace a letter with a single digit in the range $[0,5]$. Each letter should be replaced with a distinct digit and all instances of that letter w
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