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

×

What is wrong with my below solution for ABGAME?

asked 19 Nov '18, 21:56

rooneyrama77's gravatar image

3★rooneyrama77
313
accept rate: 0%


Hello @rooneyrama77, Try this test case A.AB.B answer B your code output A

link

answered 19 Nov '18, 23:19

vipin1407's gravatar image

5★vipin1407
2045
accept rate: 13%

1

thanks mate..but the issue was really with the if...else conditions.But your suggestion was helpful

(20 Nov '18, 01:03) rooneyrama773★
1

You can use stress testing with anyone accepted code in such a case. I have just tested your code against my accepted code and found this test case.

(20 Nov '18, 01:13) vipin14075★
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:

×23

question asked: 19 Nov '18, 21:56

question was seen: 89 times

last updated: 20 Nov '18, 01:13