Пожалуйста, подпишитесь на официальный канал Codeforces в Telegram по ссылке https://t.me/codeforces_official. ×

Please spot the error!

Правка en3, от Whitewiz, 2024-07-20 12:39:58

problem

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

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский Whitewiz 2024-07-20 12:39:58 168
en2 Английский Whitewiz 2024-07-20 12:36:04 1485
en1 Английский Whitewiz 2024-07-20 12:33:51 1601 Initial revision (published)