36 lines
994 B
Java
36 lines
994 B
Java
import worms.facade.Facade;
|
|
import worms.facade.IFacade;
|
|
import worms.model.Team;
|
|
import worms.model.World;
|
|
import worms.model.Worm;
|
|
import worms.programs.BinaryExpression;
|
|
import worms.programs.Expression;
|
|
import worms.programs.UnaryExpression;
|
|
import worms.util.Coordinate;
|
|
|
|
import java.io.Console;
|
|
import java.util.concurrent.ThreadLocalRandom;
|
|
import java.util.function.BinaryOperator;
|
|
import java.util.function.DoubleBinaryOperator;
|
|
|
|
public class Main {
|
|
private static final double EPS = 1e-4;
|
|
private static boolean[][] passableMap = new boolean[][] { //
|
|
{ false, false, false, false }, //
|
|
{ true, true, true, true }, //
|
|
{ true, true, true, true }, //
|
|
{ false, false, false, false } };
|
|
|
|
public static void main(String[] args) {
|
|
|
|
for (int i = 0; i < 10; i++) {
|
|
|
|
int x =ThreadLocalRandom.current().nextInt(0, 15) / 2;
|
|
x += (x % 2 == 0 ? 1:0);
|
|
System.out.println(x);
|
|
|
|
}
|
|
|
|
}
|
|
}
|