SriniV's blog

By SriniV, history, 18 months ago, In English

Here is the problem: 1793D - Moscow Gorillas
and my submission: 210771147

After taking a peek at the editorial, it looks like pretty much the same thing they are saying so I am not sure what I am missing at the moment.

A quick summary of my logic:

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

| Write comment?
»
18 months ago, # |
  Vote: I like it +1 Vote: I do not like it

Implementation bug:

cL = min(l , cL);
r = max(r , cR);

should be

cL = min(l , cL);
cR = max(r , cR);
  • »
    »
    18 months ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Thank you so much! I can't believe I didn't catch that.