ToDo:
http://igarashikuniaki.net/tdiary/?date=20060710#c01
¡ÖÎÌ»ÒÎϳؤˤª¤±¤ë¬Äê¤È¤Ï¡¢¸ÅŵŪÂоݤÈÎÌ»ÒŪÂоݤȤÎÁê¸ßºîÍѤΤ¢¤é¤æ¤ë²áÄø¤Ç¤¢¤ë¡£¡×
¤ª¡¼¤³¤ì¤Ê¤é¤À¤¤¤¿¤¤¤¤¤¤¤¸¤ã¤ó¡ª ¥é¥ó¥À¥¦¤¨¤é¤¤¡ª
(01:11)
template g(int n) { static if (n == 1) { const int g = 1; } else static if (n & 1) { const int g = g!(3*n+1)+1; } else { const int g = g!(n/2)+1; } } template h_(int m) { static if (m == 1) { const int val = 1; } else { const int v_tail = h!(m-1); const int v_head = g!(m); const int val = v_tail > v_head ? v_tail : v_head; } } template h(int m) { const int h = h_!(m).val; } static assert(false, h!(100));
¤³¤Î¤¯¤é¤¤¤Ê¤é°ìÅ٤⥨¥é¡¼½Ð¤µ¤Ê¤¯¤Æ½ñ¤±¤¿¡£
(05:01)
http://www.kenyu-kan.com/mise/denjiha.html
¥Þ¥¤¥Ê¥¹¥¤¥ª¥ó¤òÊü½Ð¤·¤Æ¤ë¹ÛÀФò»ý¤Ã¤Æ¤ª¤¯¤È¤¤¤¤¤é¤·¤¤¡£
(21:35)
Á° | 2006ǯ 7·î |
¼¡ | ||||
Æü | ·î | ²Ð | ¿å | ÌÚ | ¶â | ÅÚ |
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
Á´¤Æ¥ê¥ó¥¯¥Õ¥ê¡¼¤Ç¤¹¡£ ¥³¡¼¥ÉÊҤϼ«Í³¤Ë»ÈÍѤ·¤Æ¤¤¤¿¤À¤¤¤Æ¹½¤¤¤Þ¤»¤ó¡£ ¤½¤Î¾¤Î¤â¤Î¤ÏGPL°·¤¤¤Ç¤¢¤ì¤Ð¤¢¤é¤æ¤ë»ÈÍѤ˴ؤ·¤Æʸ¶ç¤Ï¸À¤¤¤Þ¤»¤ó¡£ ¤Ê¤Ë¤«¤¢¤ì¤Ð²¼µ¥á¡¼¥ë¥¢¥É¥ì¥¹¤Ø¡£