Skip to content

Instantly share code, notes, and snippets.

@charypar
charypar / Robot.java
Created January 28, 2016 13:35 — forked from anirudhpillai/Robot
Put the input in a text file. Then in the variable path (in main method), add the path to the text file.
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.stream.Stream;
public class Robot {
private static int gridX;
private static int gridY;