Doubt regarding problem B of round 1012

Правка en1, от Ryuuji_Nakamura, 2025-03-29 04:26:58

My logic was to check if the rows are not sorted in non-increasing order. If they are not, I then check whether the 1s present in those rows can be arranged correctly by shifting the balls in the columns. However, this approach doesn't seem to work (WA on TC3), and I'm not sure why.

heres my submission 312868120

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Ryuuji_Nakamura 2025-03-29 04:26:58 368 Initial revision (published)