Demo entry 6780631

dsada

   

Submitted by anonymous on Dec 27, 2018 at 16:14
Language: C. Code size: 327 Bytes.

#include <stdio.h>
#include <stdlib.h>

#define M 5
#define K 4

int grid[M][M] ={ 
	{0,      3,      5,      INT_MAX,4},
	{3,      0,      3,      INT_MAX,INT_MAX},
	{INT_MAX,3,      0,      4,      4},
	{INT_MAX,INT_MAX,INT_MAX,0,      2},
	{INT_MAX,INT_MAX,4,      2,      0}};

int destinations[K] = {1,2,3,4};

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).