Doubt in ICPC Preparatory Series by Team Skull Crackers

Revision en3, by 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.

Tags #codechef, #icpc2016

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English DCSekhara 2020-07-19 18:52:15 175
en2 English DCSekhara 2020-07-19 18:41:31 3 Tiny change: 're it out?' -> 're it out? ' (published)
en1 English DCSekhara 2020-07-19 18:40:41 266 Initial revision (saved to drafts)