Codeforces Round #631 Editorial

Revision en21, by dreamoon_love_AA, 2020-04-05 21:15:08
Tutorial is loading...
author's code:
Tutorial is loading...
author's code
Tutorial is loading...
author's code
Tutorial is loading...

UPD: onthefloor provides proof for what I mention here.

author's code
Tutorial is loading...

a super simple solution which is differet to this blog provided by Swistakk.

author's code (from bottom to top with min heap)
isaf27's code(from bottom to top with sorted array)
author's code (from top to bottom)
Tutorial is loading...
author's code
Tutorial is loading...
isaf27's solution
author's solution

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en21 English dreamoon_love_AA 2020-04-05 21:15:08 1 Tiny change: '5] provide proof for' -> '5] provides proof for'
en20 English dreamoon_love_AA 2020-04-05 21:14:23 143
en19 English dreamoon_love_AA 2020-04-05 20:31:48 53 Tiny change: '#### **Div.1 E is still under construction...**\n\n[tutorial:' -> '[tutorial:'
en18 English dreamoon_love_AA 2020-04-05 17:13:21 8807
en17 English dreamoon_love_AA 2020-04-05 07:59:53 159 Tiny change: 'takk].\n\n<spoil' -> 'takk].\n\n\n\n<spoil'
en16 English dreamoon_love_AA 2020-04-05 01:12:06 2 Tiny change: '# **Div.1 C E is stil' -> '# **Div.1 E is stil'
en15 English dreamoon_love_AA 2020-04-05 00:46:24 13
en14 English dreamoon_love_AA 2020-04-04 22:23:28 1518
en13 English dreamoon_love_AA 2020-04-04 22:16:37 3500
en12 English dreamoon_love_AA 2020-04-04 00:10:34 4
en11 English dreamoon_love_AA 2020-04-04 00:09:37 9 (published)
en10 English dreamoon_love_AA 2020-04-04 00:05:13 20 Tiny change: 'oiler>\n\n' -> 'oiler>\n\n\n[tutorial:1329E]\n'
en9 English dreamoon_love_AA 2020-04-04 00:04:54 18 Tiny change: 'oiler>\n\n[tutorial:1329E]\n' -> 'oiler>\n\n' (saved to drafts)
en8 English dreamoon_love_AA 2020-04-03 22:16:10 144
en7 English dreamoon_love_AA 2020-04-03 22:13:29 8 Tiny change: 'long)i, N &mdash; suffix_su' -> 'long)i, N - suffix_su'
en6 English dreamoon_love_AA 2020-04-03 21:56:32 238
en5 English dreamoon_love_AA 2020-04-03 21:44:17 5 Tiny change: '1 C and E is still und' -> '1 C and E are still und' (published)
en4 English dreamoon_love_AA 2020-04-03 21:43:34 12
en3 English dreamoon_love_AA 2020-04-03 21:42:38 7309
en2 English dreamoon_love_AA 2020-04-03 21:35:25 156
en1 English dreamoon_love_AA 2020-04-03 21:34:20 307 Initial revision (saved to drafts)