#define MINN 50
#define MAXN 750
#define INCN 50

typedef double array[MAXN][MAXN];

#define min(x,y) (x<y?x:y)

