blob: 958c757c38bb186c106c8741d03cc8df6c333b6d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
package Q9;
import java.util.*;
public class MovingRobot {
private ArrayList<Integer> moves = new ArrayList<Integer>();
private int nextMove;
public MovingRobot(int x, int y) {}
public boolean validateNextMove() {
return false;
}
public int generateNextMove() {
return 0;
}
public static boolean sameSlot(Robot r1, Robot r2) {
return false;
}
public String printMoves() {
return "";
}
public void move() {}
}
|