Stay Safe
CodeChefOpen on judge ↗
Is this string safe? ###Input: A single string $S$. ###Output: Output a single line “Safe” or “Not safe”. ###Constraints $|S|<= 100$ ###Sample Input 1: hl23k4jhkj?hjJHGkjg675?ddljkh2lkjhljk3?hjkh?lkj5h75kjhkl2j3hk,jhljk6h4kjl56sanitizejh4klj,h24kl ###Sample Output 1: Safe ###Sample Input 2: kh23hhl2///g4hjk2bjkfbs/lkajhflkjs//hfpa8dAFD34hk2hj34uf/asdfa8uas9fd88f///askdfi
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