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

×

HOW TO SOLVE MARCH LUNCHTIME PROBLEM "ABABAABA"

Looking for algorithm which solves the problem https://www.codechef.com/problems/ABABAABA
in O(n).

asked 06 Apr '16, 21:45

ankit777's gravatar image

1★ankit777
4919
accept rate: 12%


Why don't you look at the editorial which is already provided here?

link

answered 06 Apr '16, 21:52

ash_code's gravatar image

3★ash_code
475114
accept rate: 15%

thanks the link wasn't there(with problem).

(06 Apr '16, 22:06) ankit7771★
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:

×38

question asked: 06 Apr '16, 21:45

question was seen: 616 times

last updated: 07 Apr '16, 14:46