Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 36445

Tasks involving random numbers and/or output.

1 vote

I multiply the source, you (probably) multiply the output!

I #define I static int i; class p{~p()=>Console.Write(new Random().Next(i)<1?i:1);}p s=new p(); #endif i++; Try it online! …
the default.'s user avatar
  • 8,445
13 votes

Make an array of random 128 bit integers

x86-64 machine code, 10 bytes Fortunately, there is a built-in RNG. Requires the RDRAND instruction. 00000000: c1e1 020f c7f0 abe2 fac3 .......... Disassembled: shl ecx, 2 label: rdr …
the default.'s user avatar
  • 8,445
11 votes

Where to point a low-orbit ion cannon (asking for a friend)

Wolfram Language (Mathematica), 11 bytes Mathematica has a built-in for pointing ion cannons. In fact, as far as I know, it should support self-intersecting roofs. Takes input as a polygon. RandomPo …
the default.'s user avatar
  • 8,445