fork download
  1. import std.stdio, std.string, std.conv;
  2. import std.algorithm, std.array, std.bigint, std.math, std.range, std.typecons, std.random;
  3. import core.stdc.stdlib;
  4.  
  5. void main(string[] args) {
  6. int a = 0;
  7. foreach (i; 0..10000000)
  8. a += uniform(0, 10);
  9. writeln(a);
  10. }
Success #stdin #stdout 0.91s 2088KB
stdin
Standard input is empty
stdout
45007906