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

Автор TheHoodyGang, история, 4 часа назад, По-английски

Please help in this question 1974F - Cutting Game according to me my method is completely correct 275053218 but I am repeatedly getting Runtime Error, I have debugged this a lot of times but to no avail.

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

»
4 часа назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

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

»
8 минут назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

This is wrong

275053218

1. auto it = rows.upper_bound(r2); // if it is already rows.begin()
it--; 

2. auto it = cols.upper_bound(c2); // if it is already cols.begin()
it--;