From 1b312938e81c27a9d49e5a4f4c57dd707bdb7dbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E6=B1=B6=E6=B3=BD?= Date: Wed, 27 May 2020 15:02:55 +0800 Subject: [PATCH] =?UTF-8?q?add=20=E6=9D=A5=E5=86=99=E4=B8=AAhelloworld?= =?UTF-8?q?=E5=90=A7.md.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...\231\344\270\252helloworld\345\220\247.md" | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 "\346\235\245\345\206\231\344\270\252helloworld\345\220\247.md" diff --git "a/\346\235\245\345\206\231\344\270\252helloworld\345\220\247.md" "b/\346\235\245\345\206\231\344\270\252helloworld\345\220\247.md" new file mode 100644 index 0000000..1b64f21 --- /dev/null +++ "b/\346\235\245\345\206\231\344\270\252helloworld\345\220\247.md" @@ -0,0 +1,19 @@ +```java +public class Test { + + public static void main(final String[] args) { + final int[] seeds = {-229985452, -147909649}; + for (final int seed : seeds) { + final Random random = new Random(seed); + while (true) { + final int n = random.nextInt(27); + if (n == 0) break; + System.out.print((char) ('`' + n)); + } + System.out.print(" "); + } + } +} +``` + +![tA3ASg.png](https://s1.ax1x.com/2020/05/27/tA3ASg.png) \ No newline at end of file -- Gitee