Another Substring Query Problem

Problem statistics

  1. Submissions 734
  2. Accepted submissions 122
  3. Submission ratio 17%
  4. Authors 191
  5. Accepted authors 80
  6. Author ratio 42%
  1. Accepted
  2. Wrong Answer
  3. Time Limit Exceeded
  4. Memory Limit Exceeded
  5. Run Time Error
  6. Compile Error

Solution running time distribution