//
// main.c
// 贪心
//
// Created by lvdan on 15/6/29.
// Copyright (c) 2015年 zmm. All rights reserved.
//
#include <stdio.h>
#include <math.h>
typedef struct _Point
{
int h;
int z;
int distance;
}Point;
int main(int argc, const char * argv[])
{
int b[10][10]={
{3,4,3,3,3,3,3,3,3,3},
{3,1,1,1,1,1,1,1,1,3},
{3,2,2,1,1,1,1,1,1,3},
{3,1,2,1,1,2,1,1,1,3},
{3,1,2,1,1,2,1,1,1,3},
{3,1,2,1,1,2,1,1,1,3},
{3,1,2,2,2,2,1,1,4,3},
{3,1,1,1,1,1,1,1,1,3},
{3,1,1,1,1,2,1,1,1,3},
{3,3,3,3,3,2,3,3,3,3}
};
for (int x = 0;x < 10;x++)
{
for (int y = 0; y< 10;y++)
{
if (b[x][y] == 0)
{
printf("