Блог пользователя OrionJaman

Автор OrionJaman, история, 7 месяцев назад, По-английски

here is the problem link: Frog 2 problem:

wrong answer given solution

accepted solution

I have only changed the vector dp size from N=1e5+10 to INT_MAX and got accepted..why was it wrong answer in size change of dp size?

Полный текст и комментарии »

  • Проголосовать: нравится
  • -1
  • Проголосовать: не нравится

Автор OrionJaman, история, 7 месяцев назад, По-английски

Hi! I am new in programming.I have started solving problems since November 2023 with my full effort.I have recently learned STL and binary search..Now trying to learn dynamic programming.I have solved some basic problems like coin change problems.But when I read new dp or binary search problem on codeforces ,I can not make the sense of implementing dp or binary search on that definite problem...any suggestion will be eagerly accepted.

Полный текст и комментарии »

  • Проголосовать: нравится
  • -1
  • Проголосовать: не нравится