Untitled attachment
https://mastodon.tojo.tokyo/system/media_attachments/files/113/006/684/588/920/066/original/0ede4dc99073c353.png
これは私が自力で解いた愚直な整数分割の列挙の実装。
再帰は専門知識ゼロでとりあえず動くアルゴリズムを実装できるという意味で強い。
accel-asc は下記の画像の実装とは比較にならないレベルで速いのですごい。n が12くらいになると体感できるくらい差がひらく。
076萌SNS is a social network, courtesy of 076. It runs on GNU social, version 2.0.2-beta0, available under the GNU Affero General Public License.
All 076萌SNS content and data are available under the Creative Commons Attribution 3.0 license.