JEC AND THE TRIP
CodeChefOpen on judge ↗
One day JEC teachers arranged a trip for the students, but the problem is that they have only two buses therefore only limited students will go for the trip. In order to select the students, they have put a riddle in front of them and the students who will solve the riddle will go to the trip. The riddle is as follows - You are given a string S consisting of lowercase English letters. You have
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