Please subscribe to the official Codeforces channel in Telegram via the link ×

can DP be applied in this problem
Difference between en1 and en2, changed 2 character(s)
Here is the Problem Image : [Click here]( ↵

Sample Input output and constraints : [CLICK here](↵

Please specify an approach for this problem


  Rev. Lang. By When Δ Comment
en2 English code_tycoon 2021-08-08 17:47:41 2 Tiny change: '15xL4r) \nSample I' -> '15xL4r) \n\nSample I' (published)
en1 English code_tycoon 2021-08-08 17:45:58 221 Initial revision (saved to drafts)