Sm_ar__z__'s blog

By Sm_ar__z__, history, 2 months ago, In English

Hi everyone , I recently submitted my dp soln to the problem 1987D - World is Mine and was really surprised with the running time of both my code , iterative — 281468972 which ran in 400ms to recursive — 281467770 which barely passed the time limit . Please can anyone tell me whether my implementation to the recursive part is wrong and if not , why so much discrepancy. Thank You..!

Full text and comments »

  • Vote: I like it
  • +10
  • Vote: I do not like it