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

×

Why my solution hacked ?

What is wrong in solution?

asked 28 Dec '17, 00:20

gautamcse27's gravatar image

2★gautamcse27
375
accept rate: 0%


Your solution fails for this test case

ab bb

Your output:

abb

expected output:

ab

link

answered 28 Dec '17, 00:22

hruday968's gravatar image

4★hruday968
1.7k210
accept rate: 14%

I left = sign. Thanks.

(28 Dec '17, 00:29) gautamcse272★
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:

×682

question asked: 28 Dec '17, 00:20

question was seen: 193 times

last updated: 28 Dec '17, 00:29