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

Автор kr25161, история, 14 месяцев назад, По-английски

what is wrong submission but passed 306759678

this is the changed one and passed which i think is correct 309488880

ask gives hash of string from l to r

whats wrong : inv[i] gives modular inverse of factorial of i

whats correct : inv[i] should be modular inverse of power of i base prime (P)

why i think this has happened : maybe due to combined probability of binary search, unsufficient tests, and bunch of luck i manage to AC the problem XD

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

»
14 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Auto comment: topic has been updated by kr25161 (previous revision, new revision, compare).

»
14 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

the added comment in the first submission "no bugs" is diabolical