Пожалуйста, прочтите новое правило об ограничении использования AI-инструментов. ×

Блог пользователя DryukAlex

Автор DryukAlex, 10 лет назад, По-английски

Hi all.

I try to solve this problem. It seems that it can be easily solved with matrix exponentiation. I wrote the code in Java which worked on my computer and in Codeforces, but surprisingly gave RE1 in Timus. Even if this test differs from the input, I can't find where can it happen. Couldn't you help me with this?

Thanks in advance.

  • Проголосовать: нравится
  • +5
  • Проголосовать: не нравится

»
10 лет назад, # |
  Проголосовать: нравится +3 Проголосовать: не нравится

Eventually any submit on Java receives RE1. Hope timus admins will fix it ASAP.