Download Jar. Libraryless. Click here for Pure Java version (16802L/100K).
!7 p-exp { bool print; new IntBuffer occ; int i = 0, count = 0; int n = 1000000*1000*2; repeat n { count = occ.getOpt(i); if (print) printNoNewLine(count); intBufferPut(occ, count, occ.getOpt(count)+1); if (count == 0) { i = 0; if (print) print(); } else { i++; if (print) printNoNewLine(" "); } } print(n2(n) + ": " + count + "/" + n2(l(occ))); }
download show line numbers debug dex old transpilations
Travelled to 1 computer(s): mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1038772 |
Snippet name: | Inventory Sequence |
Eternal ID of this version: | #1038772/1 |
Text MD5: | 4165c790b8a937fb6e98f44353747075 |
Transpilation MD5: | 2b797ffb72f067bba796bd374273b49a |
Author: | stefan |
Category: | |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2025-01-09 17:40:56 |
Source code size: | 438 bytes / 23 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 26 / 69 |
Referenced in: | [show references] |