Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 6 years ago

Language

C++

Compiler

gcc HEAD 9.0.1 20190424 (experimental)

Options
Warnings
Boost 1.68.0
C++14
no pedantic

Author

anonymous

about 6 years ago

$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.68.0/gcc-head/include -std=c++14
 [TRACE] 32 Bits - x86

 ===== Random numbers with a random seed ====
   x[0] =     7
   x[1] =     5
   x[2] =     6
   x[3] =     3
   x[4] =     8
   x[5] =     9
   x[6] =     6
   x[7] =     1
   x[8] =     4
   x[9] =     9
  x[10] =     8
  x[11] =     3
  x[12] =     8
  x[13] =    10
  x[14] =     8

 ===== Random numbers with a non-random seed ====
   x[0] =     6
   x[1] =    10
   x[2] =     6
   x[3] =     2
   x[4] =     4
   x[5] =     1
   x[6] =     9
   x[7] =    10
   x[8] =     3
   x[9] =     6
  x[10] =    10
  x[11] =     6
  x[12] =     2
  x[13] =     1
  x[14] =     1
Exit Code:
0