You are not logged in. Please login at www.codechef.com to post your questions!

×

wrong answer in LuckyString

hello everyone i am getting wrong answer for this problem i have tried so many times to figure out but failed to do so.Can anyone help me link to my solution

asked 29 Jan '15, 18:41

emin3m's gravatar image

2★emin3m
629
accept rate: 3%


Once you have found that one of the strings is a substring of the current string you must break out of the loop.If many strings are the substrings of the current string your solution would print "Good" a multiple number of times which is what is making your solution wrong.

link

answered 13 May '15, 15:42

akshita007's gravatar image

3★akshita007
6113
accept rate: 0%

toggle preview
Preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:

×3,820
×643
×239
×10
×6

question asked: 29 Jan '15, 18:41

question was seen: 926 times

last updated: 13 May '15, 15:42