Doubt in ICPC Preparatory Series by Team Skull Crackers

Правка en3, от DCSekhara, 2020-07-19 18:52:15

Can someone help me with this question Chef and Clothes? I am really missing some observations here in this question. Can someone help me to figure it out?

My Aproach: first of all I feel this is a D.P problem having states as where the bucket is and the number of clothes in the bucket.But I am not able to proceed further.

Теги #codechef, #icpc2016


  Rev. Язык Кто Когда Δ Комментарий
en3 Английский DCSekhara 2020-07-19 18:52:15 175
en2 Английский DCSekhara 2020-07-19 18:41:31 3 Tiny change: 're it out?' -> 're it out? ' (published)
en1 Английский DCSekhara 2020-07-19 18:40:41 266 Initial revision (saved to drafts)