Codechef Copy
You want to create an Online Judge like Codechef - in fact, you decide to just copy Codechef as a whole! Just like Codechef, you give your judge a name of length $8$, given by the string $S$. However, you're worried that people will find out that your judge is a copy — in particular, you think that if $S$ and the string `"codechef"` have the same character at some position, people will find out
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