総和が一定の乱数列を生成するクラス
https://gist.github.com/luuguas/d97cd2d784a2d81f49bbcf53f7e9066d の実行例
Language
C++
Compiler
gcc 13.2.0
Options
Warnings
Boost 1.83.0
C++17
no pedantic
総和が一定の乱数列を生成するクラス
https://gist.github.com/luuguas/d97cd2d784a2d81f49bbcf53f7e9066d の実行例
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.83.0-gcc-13.2.0/include -std=c++17
177 334 254 511 589 166 664 630 440 688 417 463 724 686 195 625 685 788 230 734
10000
Exit Code:
0