æ¬æ¥ã楽ãã楽ããSICPèªæ¸ä¼ã«è¡ã£ã¦ãã¾ããã é«éæç¶ãã使ã£ãsumâproductâaccumulateâfiltered-accumulateã®æµãã¯ä½ãã«ç¾å³ããã¦ããããã¤ã¾ã¿ã«æ¥æ¬é ä¸åãããã¯ç©ºãããããã§ã ãã®ãDon't Repeat Yourselfãä½ç¾ãã話ã®æµãã¯å®è½çã«ç¾ããããã§ãã ããã§ããã£ã±ãæ±ç¨çãªaccumulateãæ¸ããªããããªããã°ã©ãã³ã°è¨èª(ä¾ãã°Java)ã¯ãscript kiddyã使ãã«ã¯ããã¨ãã¦ã大人ã使ãè¨èªãããªãã ããã¨æãããã§ãã C++ã®ãããªå¤æ è¨èªã ã£ã¦æ¸ããã®ã«ããã¨ããªãã¨ãããæãããã§ãããJavaã£ã¦ããã¦åæ¨è«ã§ãã¤ãã¦ãããªãã¨ä½¿ãç©ã«ãªããªããï¼ C++çaccumulateã®å®è¡ã¯ãã¡ãã§ã http://codepad.org/A23rW5pA #include<iostream> #
{{#tags}}- {{label}}
{{/tags}}