TheHoodyGang's blog

By TheHoodyGang, history, 4 hours ago, In English

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.

  • Vote: I like it
  • 0
  • Vote: I do not like it

»
4 hours ago, # |
  Vote: I like it 0 Vote: I do not like it

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

»
1 minute ago, # |
  Vote: I like it 0 Vote: I do not like it

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--;