[Help] Debug KMP ICPC problem — Fibonacci Words

Правка en1, от lvisbl_, 2025-01-22 22:19:05

Hi everyone, recently I encounter this problem Fibonacci Words and I can not find bug in my code. I have try to generate many test cases and compare the result again the correct code, and I found not any single test case failed. Please help to debug my code, I'm really depressed now. Currently I failed test case number #8 in codeforces.

Here is my code:

Code
Теги kmp

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский lvisbl_ 2025-01-22 22:26:43 773
en1 Английский lvisbl_ 2025-01-22 22:19:05 4184 Initial revision (published)