wOoDeN_sPoOn's blog

By wOoDeN_sPoOn, history, 6 weeks ago, In English

I was trying to solve jelly from last year(and this year) practice contest. First 4 subtasks are very easy but i don't have any idea about the last 2 subtasks. Can anyone share their solution.

Thank you in advance.

Current Progress: (if it matters)
 
 
 
 
  • Vote: I like it
  • +19
  • Vote: I do not like it

»
4 weeks ago, # |
Rev. 2   Vote: I like it +7 Vote: I do not like it

Have you solved the problem by now? If not, here is a hint.

Hint 1
Hint 2
My implementation
»
4 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

I wrote a blog about that problem months ago: https://codeforces.com/blog/entry/82625

Hope it helps ;)