2016-06-01から1ヶ月間の記事一覧

スレッドとメモリー使用

最近メモリーをあんまりかからないはずなアルゴリズムを平行にした場合にメモリーが足りないようなエラーが発生 しました。Each thread performed O(200) large integer multiplications of O(1000) digits each. Each multiply would thus allocate about 4…

自動販売機のシムミューレーション問題

この問題に固定されているチケットを使って自動販売機の最適な期待値を計算する事が目的です。This problem is non-trivial, as the probability of winning at any given machine is determined by the number of tickets inserted since a win last occurr…