Help me in solving MINWALK problem

My issue

please any hint

My code

#include <stdio.h>

int main() {
	// your code goes here

}


Learning course: Data structures & Algorithms lab
Problem Link: Minimum Cost Walk in Data structures & Algorithms lab

please create a code