Please subscribe to the official Codeforces channel in Telegram via the link https://t.me/codeforces_official. ×

Shayan.To's blog

By Shayan.To, history, 9 years ago, In English

Can any one help? this my submission -> 11834197

this are the segments: 1-4 10-18 23-29 33-43 46-57 59-77

and my code says to use these bridges:

11 17 19 20 24

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

»
9 years ago, # |
  Vote: I like it 0 Vote: I do not like it

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

»
9 years ago, # |
  Vote: I like it +1 Vote: I do not like it

Your code says "No"

»
9 years ago, # |
  Vote: I like it 0 Vote: I do not like it

You sorted firstly with L then with R, you must sort it firstly with R then with L.

Sorry for my bad English