Chef And Strings — CODECHEF QUES

Revision en1, by hunterr_196, 2018-07-05 15:23:56

question link :- ques i am only able to pass 1st subtask (30 points) of this question. I am following the simple logic for this problem. can anyone please help me and explain me how i can think of that solution which completely pass the subtask as well as how i can think in that particular direction whenever in future i face the question like this. I mean that thinking of that solution which gives me 100 points AC. my solution for 30 points solution

Tags #codechef, #problem, complexity optimization

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English hunterr_196 2018-07-05 15:23:56 600 Initial revision (published)