Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

22
LINES

< > BotCompany Repo | #1000445 // Magical hello world from random strings

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Transpiled version (30L) is out of date.

!636

main {
  psvm {
    System.out.println(randomString(-229985452) + " " + randomString(-147909649));
  }
  
  static String randomString(int i) {
    Random ran = new Random(i);
    StringBuilder sb = new StringBuilder();
    while (true)
    {
        int k = ran.nextInt(27);
        if (k == 0)
            break;

        sb.append((char)('`' + k));
    }

    return sb.toString();
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 17 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, exkalrxbqyxc, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, omzkqqnokwlv, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1000445
Snippet name: Magical hello world from random strings
Eternal ID of this version: #1000445/1
Text MD5: 5124b809ddb9abb56ebd0a1e267eea57
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-08-06 20:47:18
Source code size: 417 bytes / 22 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 579 / 542
Referenced in: [show references]