Madara__Uchiha__'s blog

By Madara__Uchiha__, history, 4 years ago, In English

Problem:- https://codeforces.net/edu/course/2/lesson/4/1/practice/contest/273169/problem/C

My submission:-https://pastebin.com/GGeGnBdT or https://ideone.com/VNbvP0

It is giving WA on test case 14 again and again.

Plz can anyone tell where is bug in my code.Any help would be appreciated.

Full text and comments »

By Madara__Uchiha__, history, 4 years ago, In English
  • Vote: I like it
  • +1
  • Vote: I do not like it

By Madara__Uchiha__, history, 4 years ago, In English
  • Vote: I like it
  • +4
  • Vote: I do not like it

By Madara__Uchiha__, history, 4 years ago, In English

https://www.spoj.com/problems/SHUB1307/ Can anyone tell me this problem which i found on spoj I think it uses the concept of 2D grid minimum cost path but I can't come up with a solution.This problem seems to be a tougher optimization of the classic 2D grid minimum cost path . Please can any one help.

Full text and comments »

  • Vote: I like it
  • -1
  • Vote: I do not like it