Last active
August 29, 2015 14:04
-
-
Save Double0negative/6366e2488bb438c191ba to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Random; | |
public class Sweg { | |
public static void main(String [] args) { | |
System.out.println(mT(-229985452)+' '+ mT(-147909649)); | |
} | |
public static String mT(int t){ | |
Random rand = new Random(t); | |
StringBuilder sb = new StringBuilder(); | |
for(int i=0;;i++) { | |
int n = rand.nextInt(27); | |
if (n == 0) break; | |
sb.append((char) ('`' + n)); | |
} | |
return sb.toString(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment