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

Whitewiz's blog

By Whitewiz, history, 104 minutes ago, In English

problem

My solution : (https://codeforces.com/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

»
102 minutes ago, # |
  Vote: I like it 0 Vote: I do not like it

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

»
98 minutes ago, # |
  Vote: I like it 0 Vote: I do not like it

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