using System;
using System.Collections.Generic;
using System.Text;
namespace day0618
{
enum Direction
{
Left,
Right,
Up,
Down,
}
}
using System;
using System.Collections.Generic;
using System.Text;
namespace day0618
{
struct Location
{
private int rIndex;
private int cIndex;
public int RIndex
{
set { this.rIndex = value; }
get { return this.rIndex; }
}
public int CIndex
{
set { this.cIndex = value; }
get { return this.cIndex; }
}
public Location(int rIndex, int cIndex):this()
{
this.rIndex = rIndex;
this.cIndex = cIndex;
}
}
}