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

The brute force solution for Codeforces Round #733 C for newbie.

Revision en8, by thanhchauns2, 2021-07-18 21:21:06

I tried to add the 100s and 0s one by one, since $$$n$$$ does not exceed $$$10^6$$$, solving it by using heaps does not cost so much time. Here it is: 122955494.

Have a nice day! Please don't downvote me :(

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en8 English thanhchauns2 2021-07-18 21:21:06 6 Tiny change: 'ission:122875589].\n\nHave' -> 'ission:122955494].\n\nHave'
en7 English thanhchauns2 2021-07-18 21:17:40 74
en6 English thanhchauns2 2021-07-18 21:17:16 0 Reverted to en4
en5 English thanhchauns2 2021-07-18 21:15:44 0 (published)
en4 English thanhchauns2 2021-07-18 21:05:41 74
en3 English thanhchauns2 2021-07-18 20:56:27 4 Tiny change: 'ownvote me.' -> 'ownvote me :('
en2 English thanhchauns2 2021-07-18 20:56:01 8 (saved to drafts)
en1 English thanhchauns2 2021-07-18 20:55:35 284 Initial revision (published)