{"blog_url":"https://unyaunya.hatenadiary.org/","url":"https://unyaunya.hatenadiary.org/entry/20140326/p1","image_url":null,"width":"100%","published":"2014-03-26 00:00:00","description":"\u30e9\u30c6\u30f3\u65b9\u9663\u3092\u4f5c\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u66f8\u3044\u3066\u307f\u307e\u3057\u305f\u3002 \u30b3\u30de\u30f3\u30c9\u306f\uff13\u3064\u306e\u5f15\u6570\u3092\u3068\u308a\u307e\u3059\u3002 \u7b2c\uff11\u5f15\u6570\u306f\u3001\u65b9\u9663\u306e\u5927\u304d\u3055\u3001\u7b2c\uff12\u3001\u7b2c\uff13\u5f15\u6570\u306f\u3001\u305d\u308c\u305e\u308c\u3001\u5217\u65b9\u5411\u3001\u884c\u65b9\u5411\u306e\u4e26\u3079\u66ff\u3048\u9806\u3092\u793a\u3057\u307e\u3059\u3002 \u4e26\u3079\u66ff\u3048\u9806\u306f\u968e\u4e57\u9032\u6cd5\u3067\u8868\u3057\u305f\u6570\u3068\u3057\u3001\u5bfe\u5fdc\u3059\u308b\u9806\u5217\u304c\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002\uff10\u3092\u6307\u5b9a\u3059\u308c\u3070\u6a19\u6e96\u5f62\u304c\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002 #!/usr/bin/env python # -*- coding: utf-8 -*- import sys def factoradic(n): \"\"\"\u6307\u5b9a\u3055\u308c\u305f\u81ea\u7136\u6570n\u3092\u3001\u968e\u4e57\u9032\u6cd5\u3067\u8868\u3057\u305f\u914d\u5217\u3092\u8fd4\u3059 ex) n = 85 ==> 85=3*4!+2*3!+0*2!+1*1! \u306a\u306e\u3067 [3,2,0,1]\u3092\u8fd4\u3059 \"\"\"\u2026","title":"\u30e9\u30c6\u30f3\u65b9\u9663","blog_title":"unyaunya\u306e\u65e5\u8a18","author_url":"https://blog.hatena.ne.jp/unyaunya/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Funyaunya.hatenadiary.org%2Fentry%2F20140326%2Fp1\" title=\"\u30e9\u30c6\u30f3\u65b9\u9663 - unyaunya\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","categories":["Python"],"height":"190","author_name":"unyaunya","type":"rich","provider_name":"Hatena Blog","provider_url":"https://hatena.blog"}