CSES Flight Discount

Revision en1, by -VIBE, 2023-08-01 17:56:43

Was solving this Cses problem from graph section.I came up with a dp approach for this but getting wrong answer on three testcases.Can anyone help me in where i am going wrong. Here is my submission

Tags cses graph

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English -VIBE 2023-08-01 17:56:43 294 Initial revision (published)