Off By One Error in 1137A — Skyscrapers

Правка en1, от SriniV, 2023-05-27 21:45:48

Here is my submission : 207504363

and my thinking:

The answer to each query $$$a_{ij}$$$ is the size of the unique elements in row i and column j plus the absolute value of the difference between the index of $$$a_{ij}$$$ in its column and row

Do let me know what I am missing!

Thank you in advance.

Теги help, wrong answer, 1337a

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский SriniV 2023-05-27 21:45:48 357 Initial revision (published)