Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:

omid omidekz

:octocat:
View GitHub Profile
@omidekz
omidekz / PrintMap.java
Last active Feb 15, 2019
print map of SharifAI2019
View PrintMap.java
private static final String OBJECTIVEZONE_SHAPE = "# ",
OPP_RESPAWNZONE_SHAPE = "+' ",
MY_RESPAWNZONE_SHAPE = "+ ",
WALL_SHAPE = "/\\ ",
NORMAL_CELL = "-- ";
static void printMap(World world) {
Cell[][] cells = world.getMap().getCells();
System.out.print(" ");
for (int i = 0; i < world.getMap().getColumnNum(); i++) {
String str = String.valueOf(i);
View HaltProblem.java
package my.ACm.Quera._26_sathe_2;
import java.util.HashMap;
import java.util.Scanner;
public class HaltProblem {
public static final int mod = 10*10*10*10*10*10*10*10*10 + 7;