Skip to content

Instantly share code, notes, and snippets.

@prathu9
Created January 1, 2018 17:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prathu9/4ec2c62a581fab129a778c53c6841f34 to your computer and use it in GitHub Desktop.
Save prathu9/4ec2c62a581fab129a778c53c6841f34 to your computer and use it in GitHub Desktop.
public class IndiaMap
{
public static void main(String[] args) throws Exception
{
int a=10,b=0,c=10;
String s1="TFy!QJu ROo TNn(ROo)SLq SLq ULo+UHs UJq TNn*RPn/QPbEWS_JSWQAIJO^NBELPeHBFHT}TnALVlBLOFAkHFOuFETpHCStHAUFAgcEAelclcn^r^r\\tZvYxXyT|S~Pn SPm SOn TNn ULo0ULo#ULo-WHq!WFs XDt!";
a=s1.charAt(b);
while (a != 0)
{
if (b < 170)
{
a = s1.charAt(b);
b++;
while (a > 64)
{
a--;
if (++c=='Z')
{
c/=9;
System.out.print((char)(c));
}
else
System.out.print((char)(33 ^ (b & 0x01)));
}
}
else
break;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment