Chef Lucky Draw
CodeChefOpen on judge ↗
Chef has participated in a lucky draw where the prize money is a car. Chef has to pick up two cards and a token from the box. Each card has a word written on it and the token consists of a key. The following conditions have to be met in order to win the lucky draw: - 1. Sum of ascii value of each character of both the strings should be equal. 2. The difference between the $i-th$ character fro
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