×

# Why WA on Fibonacci String problem?

 0 Hello Everybody! I'm solving Fibonacci String problem, and this is my last submission that got WA. Please, tell me why I'm getting this verdict, because I have not yet got what's the wrong in the submission. Thanks in advance. asked 11 Oct, 14:32 1●1 accept rate: 0%

 0 I have found the issue. I was testing just the sorted permutation of f(c) values: f(c1) <= f(c2) <= f(c3) <= ... <= f(c|C|). But, one also have to test this permutation: f(c2) >= f(c1) <= f(c3) <= ... <= f(c|C|), where f(c2) is the second minimum value among them. answered 11 Oct, 17:12 1●1 accept rate: 0%
 toggle preview community wiki:
Preview

By Email:

Markdown Basics

• *italic* or _italic_
• **bold** or __bold__
• 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:

×2,541