Please spot the error!
Difference between en2 and en3, changed 168 character(s)
[problem](https://codeforces.net/contest/1651/problem/C)↵

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

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English Eyes_on_me 2024-07-20 12:39:58 168
en2 English Eyes_on_me 2024-07-20 12:36:04 1485
en1 English Eyes_on_me 2024-07-20 12:33:51 1601 Initial revision (published)