Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 4 years ago

Language

C++

Compiler

gcc 10.1.0

Options
Warnings
Boost 1.73.0
C++2a
-pedantic

Author

anonymous

over 4 years ago

$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.73.0/gcc-10.1.0/include -std=c++2a -pedantic
Fair sum histogram:
  0- 10:=========
 10- 20:=========
 20- 30:=========
 30- 40:=========
 40- 50:=========
 50- 60:=========
 60- 70:=========
 70- 80:=========
 80- 90:=========
 90-100:=========
100-110:
Naive sum histogram:
  0- 10:
 10- 20:=
 20- 30:==
 30- 40:====
 40- 50:=====
 50- 60:=======
 60- 70:==========
 70- 80:=============
 80- 90:==================
 90-100:=============================
100-110:=====
Exit Code:
0