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

i am wasting whole day in this problem...

Правка en1, от CantLoseNow, 2022-11-15 05:53:08

can someone explain in a easier way how to solve this problem . I cant understand the editorial. specifically the part where it says "ai iterations in i-th step is equal to doing ai mod (n - i) iterations (0-based numbering). That is less than n". Please help.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский CantLoseNow 2022-11-15 05:53:08 349 Initial revision (published)