Number Grid

Правка en1, от nitr0gen, 2021-10-29 13:36:04

So I was thinking about this CSES problem: link. I saw that the answer is (x-1) ^ (y-1), but I have absolutely no idea why it works. Could someone explain or at least give some hints? Thanks.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский nitr0gen 2021-10-29 13:36:04 243 Initial revision (published)