Can You help me with 1183E ?
Difference between en1 and en2, changed 161 character(s)
Question : [https://codeforces.net/contest/1183/problem/E](https://codeforces.net/contest/1183/problem/E)↵

I want to know how it can be done using↵
1.Graphs↵
2.Dynamic Programming↵

Also there is a harder version of the problem. [problem:https://codeforces.net/contest/1183/problem/H]↵
What changes do i need to make for this in my approach?↵

P.S my rating is 1600. ↵
Any help is appreciated↵
Thanks

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English omggg 2020-03-25 17:46:44 161
en1 English omggg 2020-03-24 22:42:20 271 Initial revision (published)