help me to find a approach for this kind of problems?

Revision en4, by STARCP, 2021-09-10 19:38:22
Recently when i'am practicing i encounter two problems that have something common in them i could not understand editorial and others solutions too can someone help to find a approach for this kind of problems below are the links to two problems.

1237B - Balanced Tunnel
the editorial to this problem written by tourist

Spoiler

and the second problem.

591B - Rebranding
the solution to this problem in editorial

Spoiler

can anyone explain the intution behind this two problems?

Tags #help me

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en4 English STARCP 2021-09-10 19:38:22 9 Tiny change: 'oblems.**_\n\n[probl' -> 'oblems.**_==================\n\n[probl' (published)
en3 English STARCP 2021-09-10 19:34:59 1530 Tiny change: 'm:1237B]\n** the e' -> 'm:1237B]\n<br>\n** the e'
en2 English STARCP 2021-09-10 19:16:20 682
en1 English STARCP 2021-09-10 19:09:45 1107 Initial revision (saved to drafts)