Codeforces Round 1133 (Div. 1, Div. 2) is coming soon! Register here. ×

Eyes_on_me's blog

By Eyes_on_me, history, 2 years ago, In English

problem

My solution : (https://codeforces.me/contest/1651/submission/271500008)

MY idea :

Optimal strategy is to connect the extremes of the arrays to the other network. In doing so, we may connect the extremes of both arrays to each other.

  • Vote: I like it
  • +1
  • Vote: I do not like it

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

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

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

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