takaisa |
9*8*7*6*5/3=5040 |
¡¡¡¡
4·î7Æü¡ÊÌÚ¡Ë 0:05:53¡¡¡¡
¡¡¡¡24827 |
Taro |
Á´ÂΤÎ1/3¤À¤Ê¤¡¤È¤Ï¸«Åö¤¬¤Ä¤¤Þ¤·¤¿¤¬¡¢É԰¤ʤΤÇ
²òÅúÁ÷¿®¸å¤Ë¥×¥í¥°¥é¥à¤Ç³Î¤«¤á¤Þ¤·¤¿¡£ |
¤¸¤¿¤¯¡¦¡¦¡¦µ¢Âðľ¸å¡¡¡¡
4·î7Æü¡ÊÌÚ¡Ë 0:06:39¡¡¡¡
¡¡¡¡24828 |
¥ß¥¥Æ¥£ |
¤¦¤¦¡¢ÃÙ¤¹¤®¤ë¡£(T_T)¡¡#24827 ¤ÎÄ̤ê¤Ç¤¹¤è¤Í¡£
²¿¤â¹Í¤¨¤º¤Ë¥×¥í¥°¥é¥àÁȤ󤸤㤤¤Þ¤·¤¿¡£ |
¡¡¡¡
4·î7Æü¡ÊÌÚ¡Ë 0:07:00¡¡¡¡
HomePage:¤ß¤¤³¤à¡¡¡¡24829 |
¤½¤Î¤¦¤Á¾¡¤Ä |
ºÇ½é£Ã¤Ç¹Í¤¨¤Æ£´£²Á÷¤Ã¤Æ¤·¤Þ¤¤¤Þ¤·¤¿¡£
9£Ð5¤Î¤¢¤È³Æ·å¤ÎϤò¹Í¤¨¤è¤¦¤È»×¤¤¤Þ¤·¤¿¤¬ £±¡Á£¹¤Þ¤Ç¤½¤í¤Ã¤Æ¤¤¤ë¤³¤È¤À¤·¡¢Ê¿Åù¤Ë£³Ê¬¤Î£±¤«¤Ê¤È¨·è¤·¤Þ¤·¤¿¡£ |
¥¢¥È¥é¥ó¥Æ¥£¥¹¥â¡¼¥É¡¡µû·²Í褤¡ª¡¡¡¡
4·î7Æü¡ÊÌÚ¡Ë 0:07:17¡¡¡¡
¡¡¡¡24830 |
¤Ï¤Ê¤¦ |
¤¢¡¼¡¢¤½¤¦¤«¡£1/3¤«¤¢
¤¢¤¿¤ê¤Þ¤¨¤À¡²|¡±|¡û ´èÄ¥¤Ã¤Æɽ½ñ¤¤¤Æ·×»»¤·¤Þ¤·¤¿¡Ê°ì²ó´Ö°ã¤Ã¤¿¤· |
¤È¡¼¤¤ç¡¡¡¡
4·î7Æü¡ÊÌÚ¡Ë 0:08:01¡¡¡¡
HomePage:http://hanau.daa.jp/blog2/¡¡¡¡24831 |
¥È¥È¥í¡÷£Î |
A¡Ð1,4,7¡Ñ¡¢B¡Ð2,5,8¡Ñ¡¢C¡Ð3,6,9¡Ñ¤Î£³¥°¥ë¡¼¥×¤Ëʬ¤±¤ë¡£
A,B,C¤Î³Æ¥°¥ë¡¼¥×¤«¤éÁª¤Ö¸Ä¿ô¤Ç¾ì¹çʬ¤±¤¹¤ë¤È ¡Ê1,1,3¡Ë¤¬9Ä̤ꡢ¡Ê2,2,1¡Ë¤¬27Ä̤ꡢ¡Ê3,0,2¡Ë¡Ê0,3,2¡Ë¤¬ ³Æ3Ä̤ê¤Ê¤Î¤Ç¡¢5¡ß4¡ß3¡ß2¡ß1¡ß(9¡Ü27¡Ü3¡Ü3)¡á5040(Ä̤ê) |
ʼ¸Ë¸©ÌÀÀлԡ¡¡¡
4·î7Æü¡ÊÌÚ¡Ë 0:09:12¡¡¡¡
MAIL:h-sakai@zb3.so-net.ne.jp ¡¡¡¡24832 |
CRYING DOLPHIN |
¥«¡¼¥É¤¬¡Ö£±Ë示¤Ä¡×¤À¤«¤é¡¢ËÜÅö¤Ï¤¹¤ó¤Ê¤ê1/3¤È¤Ï¤¤¤«¤Ê¤¤¤«¡Ä
3£î·¿¡¢(3£î¡Ü1)·¿¡¢(3£î¡Ü2)·¿¤Î¥«¡¼¥É¤¬3Ë示¤Ä¤Ê¤Î¤Ç¡¢¥«¥ó¤Ç 1/3¤È¤·¤Æ¤·¤Þ¤Ã¤¿¡Ä |
£±Ç¯¥Ô¥«¥Á¥å¥¦ÁÈ¡¡¡¡
4·î7Æü¡ÊÌÚ¡Ë 0:10:33¡¡¡¡
HomePage:»»¿ô¤Î¸Â³¦¤Ã¤Æ¤É¤Î¤¯¤é¤¤¡©¡¡¡¡24833 |
¥¨¥ë¥¯ |
»ä¤â£´£²Á÷¤Ã¤Æ¤·¤Þ¤Ã¤¿¡¦¡¦¡¦
¡Ê£±£´£·¡¢£²£µ£¸¡¢£³£¶£¹¡Ë¤Î£³¥°¥ë¡¼¥×¤Ëʬ¤±¤Æ ¤½¤ì¤¾¤ì¤«¤é»È¤¦¿ô»ú¤Î¿ô¤ò¹Í¤¨¤ë¤È ¡Ê£±¡¤£±¡¤£³¡Ë¡Ê£³¡¤£°¡¤£²¡Ë¡Ê£°¡¤£³¡¤£²¡Ë¡Ê£²¡¤£²¡¤£±¡Ë¤¬Í¤Ã¤Æ ¤½¤ì¤¾¤ì£¹¡¢£³¡¢£³¡¢£²£·Ä̤ꡣ·×£´£²Ä̤ê¤Ë ¤¢¤È¤Ï¡Ê£µ¡ª¡á£±£²£°¡Ë¤«¤±¤Æ½ª¤ï¤ê¤È¡£ |
ËâË¡¤Î¹ñ¡¡¡¡
4·î7Æü¡ÊÌÚ¡Ë 0:11:39¡¡¡¡
HomePage:̤¤¤Î¿¹¡¡¡¡24834 |
taku |
1¡Á9¤ò3¤Ç³ä¤Ã¤¿¤¢¤Þ¤ê¤Ç¹Í¤¨¤Æ
¤¢¤Þ¤ê0¤Ï3,6,9 ¤¢¤Þ¤ê1¤Ï1,4,7 ¤¢¤Þ¤ê2¤Ï2,5,7 5·å¤Ç3¤ÎÇÜ¿ô¤Ë¤Ê¤ë¤Î¤Ï 0,0,0,1,2¤Î¤È¤1080Ä̤ê 0,0,1,1,1¤Î¤È¤360Ä̤ê 0,0,2,2,2¤Î¤È¤360Ä̤ê 0,1,1,2,2¤Î¤È¤3240ÄÌ¤ê ¹ç·×5040Ä̤ꡣ ¤â¤¦¿²¤Þ¤¹¡£ |
¡¡¡¡
4·î7Æü¡ÊÌÚ¡Ë 0:12:24¡¡¡¡
MAIL:takuo@kcv.ne.jp ¡¡¡¡24835 |
¥¨¥ë¥¯ |
¥È¥È¥í¡÷£Î¤µ¤ó¤Î¤ÈƱ¤¸¤À¡¦¡¦¡¦
½ñ¤¹þ¤ßÃÙ¤ì¤ë¤È¤à¤Ê¤·¤¤¤Í¡Ê´À |
ËâË¡¤Î¹ñ¡¡¡¡
4·î7Æü¡ÊÌÚ¡Ë 0:12:31¡¡¡¡
HomePage:̤¤¤Î¿¹¡¡¡¡24836 |
¥´¥ó¤È¤â |
½½¿ÊBASIC ¤Ç°Ê²¼¤Ç¤·¤¿¡£3ʬ¤¯¤é¤¤¤«¤«¤ê¤Þ¤·¤¿¡£
FOR A=1 TO 9 FOR B=1 TO 9 FOR C=1 TO 9 FOR D=1 TO 9 FOR E=1 TO 9 LET M=A+B+C+D+E IF MOD(M,3)=0 AND A<>B AND A<>C AND A<>D AND A<>E AND B<>C AND B<>D AND B<>E AND C<>D AND C<>E AND D<>E THEN PRINT A;B;C;D;E NEXT E NEXT D NEXT C NEXT B NEXT A END |
¡¡¡¡
4·î7Æü¡ÊÌÚ¡Ë 0:12:39¡¡¡¡
MAIL:fttnm528@ybb.ne.jp ¡¡¡¡24837 |
»Ð¾®Ï© |
¤·¤Æ£³¤Ë¤Ê¤ëʪ¤òÁ´¤Æ¤¢¤²¤ë¤È¡¢42Ä̤ê¤Ê¤Î¤Ç¡¢
5!*42=5040¡¡¤È¤·¤Þ¤·¤¿¡£ |
»»¿ô¤Î³¹¡¡¡¡
4·î7Æü¡ÊÌÚ¡Ë 0:15:29¡¡¡¡
MAIL:pctakada@mail.goo.ne.jp HomePage:¹âÅĤÎÒ줡¡¡¡24838 |
taku |
#24835¤ÎÄûÀµ
¤¢¤Þ¤ê2¤Ï2,5,8 (¤ê¤ã¤ó¤¦¡¼¤Ñ¡¼)ËÜÅö¤Ë¿²¤Þ¤¹¡£ |
¡¡¡¡
4·î7Æü¡ÊÌÚ¡Ë 0:18:55¡¡¡¡
MAIL:takuo@kcv.ne.jp ¡¡¡¡24839 |
ipal |
> FOR A=1 TO 9
> FOR B=1 TO 9 : : ¤Î"1"¤ò¤º¤Ã¤È"0"¤Ç¤ä¤Ã¤Æ¤¿... |
¡¡¡¡
4·î7Æü¡ÊÌÚ¡Ë 0:19:01¡¡¡¡
¡¡¡¡24840 |
linear |
taku¤µ¤ó¤ÈƱ¤¸¤ä¤êÊý¤Ç¤·¤¿¡£¤¿¤À¡¢1¤«¤é9¤Þ¤Ç¤Î¥·¥°¥Þ¤Ï£´£µ¡á¡Ê3¤ÎÇÜ¿ô¡Ë¤Ëα°Õ¤¹¤ì¤Ð¡¢»È¤ï¤Ê¤¤4Ëç¤Î¥«¡¼¥É¤Î¹ç·×¤¬3¤ÎÇÜ¿ô¤È¤Ê¤ì¤Ð¤¤¤¤¤Î¤Ç¡¢¤³¤Á¤é¤ò¿ô¤¨¤¿¤Û¤¦¤¬¡¢¤¤¤µ¤µ¤«´Ê·é¤Ë¤Ê¤ê¤Þ¤¹¡£ÊýË¡¤ò»×¤¤¤Ä¤¤¤Æ¤«¤éÀµ²ò¤Þ¤Ç¤Ï¤ª¤½¤é¤¯2ʬ¤â¤«¤«¤é¤Ê¤«¤Ã¤¿¤È»×¤¤¤Þ¤¹¡¢ºÇ½é¤ËÊѤʤ³¤È¹Í¤¨¤Æ¤¤¤¿¤Î¤¬¤¤¤±¤Þ¤»¤ó¤Ç¤·¤¿¡£ |
¡¡¡¡
4·î7Æü¡ÊÌÚ¡Ë 0:19:53¡¡¡¡
MAIL:linearsupertrain@yahoo.co.jp ¡¡¡¡24841 |
linear |
taku¤µ¤ó¤ÈƱ¤¸¤ä¤êÊý¤Ç¤·¤¿¡£¤¿¤À¡¢1¤«¤é9¤Þ¤Ç¤Î¥·¥°¥Þ¤Ï£´£µ¡á¡Ê3¤ÎÇÜ¿ô¡Ë¤Ëα°Õ¤¹¤ì¤Ð¡¢»È¤ï¤Ê¤¤4Ëç¤Î¥«¡¼¥É¤Î¹ç·×¤¬3¤ÎÇÜ¿ô¤È¤Ê¤ì¤Ð¤¤¤¤¤Î¤Ç¡¢¤³¤Á¤é¤ò¿ô¤¨¤¿¤Û¤¦¤¬¡¢¤¤¤µ¤µ¤«´Ê·é¤Ë¤Ê¤ê¤Þ¤¹¡£ÊýË¡¤ò»×¤¤¤Ä¤¤¤Æ¤«¤éÀµ²ò¤Þ¤Ç¤Ï¤ª¤½¤é¤¯2ʬ¤â¤«¤«¤é¤Ê¤«¤Ã¤¿¤È»×¤¤¤Þ¤¹¡¢ºÇ½é¤ËÊѤʤ³¤È¹Í¤¨¤Æ¤¤¤¿¤Î¤¬¤¤¤±¤Þ¤»¤ó¤Ç¤·¤¿¡£ |
¡¡¡¡
4·î7Æü¡ÊÌÚ¡Ë 0:21:45¡¡¡¡
MAIL:linearsupertrain@yahoo.co.jp ¡¡¡¡24842 |
tomh |
#24832¤Î¥È¥È¥í¡÷£Î¤µ¤ó¤ÈƱ¤¸¤Ç¡¢
¾ê;Îà¤Ëʬ¤±¤Æ¹Í¤¨¤Þ¤·¤¿¡£ |
¿·³ã»Ô¡¡¡¡
4·î7Æü¡ÊÌÚ¡Ë 0:22:43¡¡¡¡
MAIL:tomh@yahoo.co.jp HomePage:H to M¡¡¡¡24843 |
µÈÀî¡÷¤Ç¤ó¤·¤ã |
µ¢ÂðÃæ¤Ç¤¹¡£
¡¡º£²ó¤Î¤Ï¡¢£³Ê¬¤Î£±·è¤áÂǤÁ¤Î¿Í¤¬¤¤¤ë¤À¤í¤¦¤Ê¡¼¤È»×¤¤¤Ä¤Ä½ÐÂꤷ¤Þ¤·¤¿¡£ ¤Á¤Ê¤ß¤ËÁª¤Ó½Ð¤¹Ëç¿ô¤¬¤¢¤ë¾ò·ï¤òËþ¤¿¤¹¤È¤¤Ï£³Ê¬¤Î£±¤Ë¤Ê¤ë¤ó¤Ç¤¹¤è¤Í¡£ |
¡¡¡¡
4·î7Æü¡ÊÌÚ¡Ë 0:23:02¡¡¡¡
¡¡¡¡24844 |
¥¢¥Ò¡¼¤Î¤ª¤¸¤µ¤ó |
ÃÙ¤¤³ä¤Ë¤Ï9P5/3¤Ç¤·¤¿¡Ê¡°¡°¡¨
ºÇ½é¤â°ì½Ö¡Ö3ʬ¤Î1¤«¤Ê¡©¡×¤È¤Ï´¶¤¸¤¿¤â¤Î¤Î¡¢ÃÏÆ»¤Ë·×»» ¹¹¿·¤·¤Æ¤ß¤ë¤È25ÉäǤȤ¤¤Æ¤¤¤ë¤Ò¤È¤¬¤¤¤¿¤Î¤Ç ¡Ö¤³¤ì¤Ï¤â¤¦3ʬ¤Î1¤À¤Ê£÷¡¡·è¤Þ¤ê¡ª¡×¤ß¤¿¤¤¤Ê´¶¤¸¤Ç¡Ê¶ì¾Ð¡Ë |
¥¢¥ó¥É¥í¥á¥ÀÂçÀ±±À¡¡¡¡
4·î7Æü¡ÊÌÚ¡Ë 0:37:07¡¡¡¡
HomePage:ÀµÂÎÉÔÌÀ¡¡¡¡24845 |
¥Î¥Ó¥Ã¥¿ |
½é¤á¤Æ»²²Ã¤·¤Þ¤¹¡£
Ëͤâ̤¤¤Ä¤Ä¡¢3ʬ¤Î1¤Ç²ò¤¤¤Æ¤·¤Þ¤¤¤Þ¤·¤¿¡£ ¤Á¤Ê¤ß¤Ë¡¢¤³¤ì¤¬¡Ö1¤«¤é8¤Þ¤Ç¤Î¿ô»ú¡×¤À¤Ã¤¿¤é¡¢ °ì¶ÚÆì¤Ë¤Ï¹Ô¤«¤Ê¤¯¤Ê¤ë¤Î¤Ç¤·¤ç¤¦¤«¡£ |
³ùÁÒ¡¢¤Î¶á¤¯¡¡¡¡
4·î7Æü¡ÊÌÚ¡Ë 1:05:20¡¡¡¡
¡¡¡¡24846 |
¥´¥ó¤È¤â |
#24846 #24837 ¤Î¥×¥í¥°¥é¥à¤Çloop¤Î9¤ò8¤ËÊѤ¨2400¤Ç¤·¤¿¤¬
¤½¤³¤è¤ê¤â3¤ÎÇÜ¿ô¤Ï³Æ·å¤ÎϤ¬3¤ÎÇÜ¿ô¤À¤È¤½¤¦¤Ê¤Î¤Ç ¤¿¤¤¤·¤ÆÆñ¤·¤¯¤Ê¤¤¤è¤¦¤Êµ¤¤¬¤·¤Þ¤¹¡£ 3¤ÎÇÜ¿ô¤ò7¤È¤«11¤ËÊѤ¨¤ëÊý¤¬Æñ¤·¤¤¤¸¤ã¤Ê¤¤¤«¤È¡¦¡¦¡¦¡£ |
¡¡¡¡
4·î7Æü¡ÊÌÚ¡Ë 1:16:44¡¡¡¡
MAIL:fttnm528@ybb.ne.jp ¡¡¡¡24847 |
ËüÂÇ̵ |
¡¡»ä¤âtaku¤µ¤ó¤ÈƱ¤¸¤¯³Æ¿ô»ú¤ò3¤Ç³ä¤Ã¤¿»þ¤Î;¤ê¤Ç¥°¥ë¡¼¥×ʬ¤±¤·¡¢¤½¤ÎÁȤ߹ç¤ï¤»¤ò¹Í¤¨¤Þ¤·¤¿¡£
¡¡¤¿¤À¡¢»ä¤Ï9Ëç¤ÎÃ椫¤é4Ëç»Ä¤¹¤È¹Í¤¨¤Þ¤·¤¿¡£ ¡¡1¤«¤é9¤Þ¤Ç¤ÎÀ°¿ô¤ÎÁíϤÏ45¡£ ¡¡Áª¤ó¤À5Ëç¤Î¿ô¤ÎÁíϤ¬3¤ÎÇÜ¿ô¤À¤«¤é¡¢»Ä¤¹4Ëç¤Î¿ô¤ÎÁíϤâ3¤ÎÇÜ¿ô¤Ë¤Ê¤ë¡£ ¡¡¤½¤ÎÁȤ߹ç¤ï¤»¤Ï ¡¡0,0,1,2¡¡27ÄÌ¤ê ¡¡0,1,1,1¡¡3ÄÌ¤ê ¡¡0,2,2,2¡¡3ÄÌ¤ê ¡¡1,1,2,2¡¡9ÄÌ¤ê ¡¡¹ç¤ï¤»¤Æ42Ä̤ꡣ ¡¡Áª¤ó¤À5Ëç¤òʤÙÂؤ¨¤ëÁȤ߹ç¤ï¤»¤Ï5!=120Ä̤ꡣ ¡¡¤è¤Ã¤ÆÁ´¤Æ¤ÎÁȤ߹ç¤ï¤»¤Ï¡¡42¡ß120=5040Ä̤ꡣ |
¡¡¡¡
4·î7Æü¡ÊÌÚ¡Ë 8:12:26¡¡¡¡
MAIL:akkk@hi-net.ne.jp ¡¡¡¡24848 |
kasama |
¤ª¤Ï¤è¤¦¤´¤¶¤¤¤Þ¤¹(*^_^*)¡£
import java.util.*; public class Question445 { ¡¡public static void main(String[] args) { ¡¡¡¡int count = 0; ¡¡¡¡List list = new Permutation(Arrays.asList(new String[]{¡¡//¡¡¥¯¥é¥¹Permutation¤Ï#18624¤ò»²¾È ¡¡¡¡¡¡"1", "2", "3", "4", "5", "6", "7", "8", "9"}), 5).getList(); ¡¡¡¡for (Iterator iter = list.iterator(); iter.hasNext(); ) { ¡¡¡¡¡¡List eList = (List) iter.next(); ¡¡¡¡¡¡StringBuffer sb = new StringBuffer(); ¡¡¡¡¡¡for (Iterator eIter = eList.iterator(); eIter.hasNext(); ) sb.append((String) eIter.next()); ¡¡¡¡¡¡if (Integer.parseInt(sb.toString()) % 3 == 0) ++count; ¡¡¡¡} ¡¡¡¡System.out.println(count); ¡¡} } |
½ÐÀè¡¡¡¡
4·î7Æü¡ÊÌÚ¡Ë 9:15:08¡¡¡¡
¡¡¡¡24849 |
uchinyan |
¤³¤ì¤Ï¤ä¤µ¤·¤¤¡£
¤È¤Ï¤¤¤¨¡¢Ä«¤ÎË»¤·¤¤¤È¤¤À¤Ã¤¿¤Î¤Ç¡¢°Å»»¤Ç¤ä¤Ã¤¿¤é¡¢2²ó¤â·×»»°ã¤¤¤·¤Æ¤·¤Þ¤¤¤Þ¤·¤¿ (^^; ²òË¡¤Ï¡¢³§¤µ¤ó¤ÈƱ¤¸¤Ç¤¹¤¬¡¢°ì±þ¡£ ºÇ½é¤Ë¡¢Áª¤Ö¿ô»ú¤ÎÁȤ߹ç¤ï¤»¤òÄ´¤Ù¡¢¤½¤ì¤é¤ò5·å¤Î¿ô»ú¤È¤¹¤ë¤¿¤á¤Ëʤ٤ޤ¹¡£ ¤Þ¤º¤Ï¡¢Áª¤Ö¿ô»ú¤ÎÁȤ߹ç¤ï¤»¡£¿ô»ú¤ÎϤ¬3¤ÎÇÜ¿ô¤Ë¤Ê¤ì¤Ð¤¤¤¤¤Î¤Ç¡¢ Áª¤Ö¿ô»ú¤ÎÃæ¤Ë3¤ÎÇÜ¿ô¤¬3¸Ä¤¢¤ë¾ì¹ç¡§¡¡1 * 3 * 3 = 9 Ä̤ê Áª¤Ö¿ô»ú¤ÎÃæ¤Ë3¤ÎÇÜ¿ô¤¬2¸Ä¤¢¤ë¾ì¹ç¡§¡¡3 * (1 + 1) = 6 Ä̤ê Áª¤Ö¿ô»ú¤ÎÃæ¤Ë3¤ÎÇÜ¿ô¤¬1¸Ä¤¢¤ë¾ì¹ç¡§¡¡3 * 3 * 3 = 27 Ä̤ê Áª¤Ö¿ô»ú¤ÎÃæ¤Ë3¤ÎÇÜ¿ô¤¬0¸Ä¤¢¤ë¾ì¹ç¡§¡¡0 ÄÌ¤ê ¤È¤Ê¤ë¤Î¤Ç¡¢ÁȤ߹ç¤ï¤»¤Ï¡¢9 + 6 + 27 = 42 Ä̤ꡣ ¤½¤³¤Ç¡¢Ê¤٤ë¤È¡¢5·å¤Î¿ô»ú¤Ï¡¢42 * 5! = 5040 Ä̤ꡣ |
¥Í¥³¤Î½»¤à²È¡¡¡¡
4·î7Æü¡ÊÌÚ¡Ë 9:21:34¡¡¡¡
MAIL:uchi@sco.bekkoame.ne.jp ¡¡¡¡24850 |
¤Þ¤ë¥±¥ó |
¤ª¤Ï¤è¤¦¤´¤¶¤¤¤Þ¤¹¡£
#24844 Áª¤Ó½Ð¤¹Ëç¿ô¤¬£³¤ÎÇÜ¿ô¤Î¾ì¹ç(£³Ëç¤È¤«£¶Ëç¤Î¾ì¹ç)¤Ï£±¡¿£³¤Ë¤Ï¤Ê¤é¤Ê¤¤¤ó¤Ç¤¹¤Í¡£ £³¤ÎÇÜ¿ô¤ÏÁ´£µ£°£´Ä̤êÃ棱£¸£°Ä̤ê¤Ë¤Ê¤ê¤Þ¤¹¡£ ¤Á¤Ê¤ß¤Ë¡¢£³¤Ç³ä¤Ã¤Æ£±¤¢¤Þ¤ë¿ô¡¢£²Í¾¤ë¿ô¤Ï¡¢¤É¤Á¤é¤â£±£¶£²Ä̤ê¤Ç¤¹¡£ ¤Ê¤«¤Ê¤«Àä̯¤Ê¿ôÃÍÀßÄê¤À¤Ã¤¿¤ó¤Ç¤¹¤Í¡¢£¹ËçÃ棵Ëç¤Ã¤Æ¡£ |
¡¡¡¡
4·î7Æü¡ÊÌÚ¡Ë 10:35:18¡¡¡¡
MAIL:take4310@mobile.email.ne.jp HomePage:¤Þ¤ë¥±¥ó¤ÎÉô²°¡¡¡¡24851 |
¤ß¤«¤ó |
¤¤¤Á¤¤¤Á£µ¤Ä¤Î¿ô»ú¤ÎÁȤ߹ç¤ï¤»£±£²£¶Ä̤ê¤Ë¤Ä¤¤¤Æ£³¤ÎÇÜ¿ô¤«¤ò¹Í¤¨¤ë¤Î¤Ï
ÌÌÅݤÀ¤Ê¡Ä¤È¤¤¤¦¤³¤È¤Ç¡¢Åö¤Æ¤º¤Ã¤Ý¤¦¤Ç£³Ê¬¤Î£±¤È¤·¤Æ¤´¤Þ¤«¤·¤Á¤ã¤¤¤Þ¤·¤¿¡£ |
¡¡¡¡
4·î7Æü¡ÊÌÚ¡Ë 10:45:11¡¡¡¡
¡¡¡¡24852 |
¥Ï¥é¥®¥ã¡¼¥Æ¥¤ |
º£²ó¤Ï¤ä¤µ¤·¤«¤Ã¤¿¡£°ìȯÀµ²ò¤Ïµ¤»ý¤Á¤¬Îɤ¤¡£ |
Ë̶彣¡¡¡¡
4·î7Æü¡ÊÌÚ¡Ë 10:46:42¡¡¡¡
HomePage:¿®¹æ½èÍý¤ËÄ©Àï¡¡¡¡24853 |
??? |
¼¡¤Î¥×¥í¥°¥é¥à¤Ë¤¹¤ë¤È¡¢¾¯¤·¤Ï®¤¤¤«¤Ê¡£»î¤·¤Æ¤¤¤Ê¤¤¤±¤É¡£
LET KOTAE=0 FOR A=1 TO 9 FOR B=1 TO 9 IF A<>B THEN FOR C=1 TO 9 IF A<>C AND B<>C THEN FOR D=1 TO 9 IF A<>D AND B<>D AND C<>D THEN FOR E=3-MOD(A+B+C+D,3) TO 9 STEP 3 IF A<>E AND B<>E AND C<>E AND D<>E THEN LET KOTAE=KOTAE+1 PRINT KOTAE;A;B;C;D;E END IF NEXT E END IF NEXT D END IF NEXT C END IF NEXT B NEXT A END |
¡¡¡¡
4·î7Æü¡ÊÌÚ¡Ë 12:14:21¡¡¡¡
¡¡¡¡24854 |
uchinyan |
#24844¡§
¤â¤¦¾¯¤·Í×ÎΤ褯¤Ç¤¤½¤¦¤Ç¤¹¤¬¡¢¤Þ¤¡¡¢Â礷¤¿¤³¤È¤Ï¤Ê¤¤¤Î¤Ç¼ÂºÝ¤Ë·×»»¤¹¤ë¤È¡¢ 1 ¡Á 9 ¤¬1Ë示¤Ä¤¢¤ë¾ì¹ç¡¢Áª¤ÖËç¿ô¤¬¡¢3¤ÎÇÜ¿ô¤Ç¤Ï1/3¤Ë¤Ï¤Ê¤é¤º¡¢3¤ÎÇÜ¿ô¤Ç¤Ê¤±¤ì¤Ð1/3¤Ë¤Ê¤ê¤Þ¤¹¤Í¡£ ¤É¤Ê¤¿¤«¤â½ñ¤«¤ì¤Æ¤¤¤¿¤è¤¦¤Ë¡¢1 ¡Á 9 ¤Þ¤Ç¤ÎÏÂ¤Ï 45 ¤Ç¡¢3¤ÎÇÜ¿ô¤Ê¤Î¤Ç¡¢ kËçÁª¤ó¤Ç3¤ÎÇÜ¿ô¤òºî¤ë¾ì¹ç¤Î¿ô»ú¤ÎÁȹ礻¤Ï¡¢(9-k)ËçÁª¤ó¤Ç3¤ÎÇÜ¿ô¤òºî¤ë¾ì¹ç¤Î¿ô»ú¤ÎÁȹ礻¤È°ìÃפ·¤Þ¤¹¡£ ¤½¤³¤Ç¡¢k = 1, 2, 3, 4 ¤ò¹Í¤¨¤ì¤Ð½½Ê¬¡£¼ÂºÝ¤Ëµá¤á¤ë¤È¡¥¡¥¡¥ 1ËçËô¤Ï8ËçÁª¤Ö¾ì¹ç¡§¿ô»ú¤ÎÁȹ礻¤Ï¡¢3Ä̤ꡣ3 * 1! = (9) * 1/3 or 3 * 8! = (9!/1!) * 1/3 ¤Ê¤Î¤Ç¡¢1/3¡£ 2ËçËô¤Ï7ËçÁª¤Ö¾ì¹ç¡§¿ô»ú¤ÎÁȹ礻¤Ï¡¢12Ä̤ꡣ12 * 2! = (9 * 8) * 1/3 or 12 * 7! = (9!/2!) * 1/3 ¤Ê¤Î¤Ç¡¢1/3¡£ 3ËçËô¤Ï6ËçÁª¤Ö¾ì¹ç¡§¿ô»ú¤ÎÁȹ礻¤Ï¡¢30Ä̤ꡣ30 * 3! not= (9 * 8 * 7) * 1/3 or 30 * 6! not= (9!/3!) * 1/3 ¤Ê¤Î¤Ç¡¢1/3 ¤Ë¤Ê¤é¤Ê¤¤¡£ 4ËçËô¤Ï5ËçÁª¤Ö¾ì¹ç¡§¿ô»ú¤ÎÁȹ礻¤Ï¡¢42Ä̤ꡣ42 * 4! = (9 * 8 * 7 * 6) * 1/3 or 42 * 5! != (9!/4!) * 1/3 ¤Ê¤Î¤Ç¡¢1/3¡£ ¤½¤¦¤½¤¦¡¢¤³¤ì¤¬¤â¤ì¤Æ¤¤¤Þ¤·¤¿ (^^; 9ËçÁª¤Ö¾ì¹ç¡§¿ô»ú¤ÎÁȹ礻¤Ï¡¢1Ä̤ꡣ1 * 1! not= 1 * 1/3 ¤Ê¤Î¤Ç¡¢1/3 ¤Ë¤Ê¤é¤Ê¤¤¡£ 0ËçÁª¤Ö¤Î¤Ï°ÕÌ£¤¢¤ê¤Þ¤»¤ó¤Í¡£ ¤È¤¤¤¦¤ï¤±¤Ç¡¢Áª¤ÖËç¿ô¤¬3¤ÎÇÜ¿ô¡¢3, 6, 9 ¤Î¾ì¹ç¤À¤±¤¬1/3¤Ë¤Ê¤ê¤Þ¤»¤ó¡£ ºÇ½é¤«¤é¡¢º£²ó¤ÎÌäÂê¤Ç¤Ï¡¢1/3¤Ë¤Ê¤ë¤³¤È¤¤¤¨¤ë¤Î¤«¤Ê¡©¡¡ ¤Þ¤¿¡¢¤â¤¦¾¯¤·°ìÈÌŪ¤Ë²¿¤«¤¤¤¨¤ë¡©¡¡¤â¤Ã¤È¤â¡¢ÌäÂê¤ò¤¦¤Þ¤¯³ÈÄ¥¤·¤Ê¤¤¤ÈÂê°Õ¤¬¤ª¤«¤·¤¯¤Ê¤ê¤½¤¦¤Ç¤¹¤¬¡£ |
¥Í¥³¤Î½»¤à²È¡¡¡¡
4·î7Æü¡ÊÌÚ¡Ë 13:15:19¡¡¡¡
MAIL:uchi@sco.bekkoame.ne.jp ¡¡¡¡24855 |
tapu |
£¹¡ß£¸¡ß£·¡ß£¶¡ß£µ¡à£³ |
¡¡¡¡
4·î7Æü¡ÊÌÚ¡Ë 13:04:03¡¡¡¡
¡¡¡¡24856 |
n¿ß |
Áª¤ÖËç¿ô¤Ë¤Ä¤¤¤Æ°ã¤¦
¤Þ¤ÀÍ·¤Ù¤½¤¦¤Ç¤¹ |
¡¡¡¡
4·î7Æü¡ÊÌÚ¡Ë 15:22:32¡¡¡¡
¡¡¡¡24857 |
uchinyan |
#24844 & #24855¡§
Æäˡ¢#24855¤Î ¡äºÇ½é¤«¤é¡¢º£²ó¤ÎÌäÂê¤Ç¤Ï¡¢1/3¤Ë¤Ê¤ë¤³¤È¤¤¤¨¤ë¤Î¤«¤Ê¡©¡¡ ´Êñ¤Ç¤·¤¿ (^^v º£¡¢5¸Ä¤Î¿ô»ú¤òÁª¤ó¤Ç¤½¤ÎϤ¬3¤ÎÇÜ¿ô¤Ë¤Ê¤Ã¤¿¤È¤·¤Þ¤¹¡£ ¤½¤ì¤é5¸Ä¤Î¿ô»ú¤Ë¤½¤ì¤¾¤ì +1 ¤ò¤·¤Þ¤¹¡£9¤Î¾ì¹ç¤Ë¤Ï10¤Ë¤Ê¤ê¤Þ¤¹¤¬¡¢¤³¤Î¾ì¹ç¤Ë¤Ï9¤À¤±¤º¤é¤·¤Æ¡¢1¤òÂбþ¤µ¤»¤Þ¤¹¡£ ÌÀ¤é¤«¤Ë¡¢¤³¤¦¤·¤ÆÆÀ¤é¤ì¤¿5¸Ä¤Î¿ô»ú¤ËÅù¤·¤¤¤â¤Î¤Ï¤¢¤ê¤Þ¤»¤ó¡£ ¤µ¤é¤Ë¤³¤ì¤é¤Î¿ô»ú¤ÎϤò¼è¤ë¤È¡¢+5 Ëô¤Ï +5-9 = -4 ¤À¤±ÊѲ½¤¹¤ë¤Î¤Ç¡¢Ï¤Ï3¤Ç³ä¤Ã¤Æ2¤À¤±Í¾¤ë¿ô¤Ë¤Ê¤ê¤Þ¤¹¡£ ¤Ä¤Þ¤ê¡¢¤³¤Î5¸Ä¤Î¿ô»ú¤Çºî¤é¤ì¤ë5·å¤Î¿ô»ú¤Ï¡¢3¤Ç³ä¤ë¤È2¤À¤±Í¾¤ê¤Þ¤¹¡£ ƱÍͤˤ·¤Æ¡¢Ï¤¬3¤ÎÇÜ¿ô¤Î5¸Ä¤Î¿ô»ú¤Ë -1 ¤ò¤·¡¢0¤È¤Ê¤Ã¤¿¾ì¹ç¤Ë¤Ï9¤òÂбþ¤µ¤»¤ë¤³¤È¤Ë¤¹¤ë¤È¡¢ ¤½¤ì¤é¤Î¿ô»ú¤Ï¤¹¤Ù¤Æ°Û¤Ê¤ê¡¢¤½¤ÎϤϡ¢-5 Ëô¤Ï -5+9 = 4 ¤À¤±ÊѲ½¤¹¤ë¤Î¤Ç¡¢3¤Ç³ä¤Ã¤Æ1;¤ë¿ô¤Ë¤Ê¤ê¤Þ¤¹¡£ ¤³¤ì¤é¤ÎÁàºî¤Ï¡¢µÕ¤â¤¤¤¨¤ë¤Î¤Ç¡¢3¤ÎÇÜ¿ô¡¢3¤Ç³ä¤Ã¤Æ1;¤ë¿ô¡¢3¤Ç³ä¤Ã¤Æ2;¤ë¿ô¤Î´Ö¤Ë1ÂÐ1¤ÎÂбþ¤¬Â¸ºß¤·¤Þ¤¹¡£ ¤½¤³¤Ç¡¢3¤ÎÇÜ¿ô¤Î¸Ä¿ô¤Ï¡¢Á´ÂΤÎ1/3¤Ë¤Ê¤ê¡¢9P5 * 1/3 = 9!/4! * 1/3 = (9 * 8 * 7 * 6 * 5)/3 = 5040 Ä̤ꡣ ¤³¤ÎÁàºî¤Ï¡¢Áª¤Ö¿ô»ú¤Î¸Ä¿ô¤¬3¤ÎÇÜ¿ô¤Ç¤Ê¤¤¾ì¹ç¤Ë¤ÏƱÍͤˤ¦¤Þ¤¯µ¡Ç½¤·¡¢3¤ÎÇÜ¿ô¤Î¸Ä¿ô¤ÏÁ´ÂΤÎ1/3¤Ë¤Ê¤ê¤Þ¤¹¡£ ¤Ê¤ª¡¢Áª¤Ö¿ô»ú¤Î¸Ä¿ô¤¬3¤ÎÇÜ¿ô¤Î¾ì¹ç¤Ë¤Ï¡¢Áª¤ó¤À¿ô»ú¤ÎϤÏ3¤ÎÇÜ¿ô¤·¤«Áý¸º¤·¤Ê¤¤¤Î¤Ç¡¢¤¦¤Þ¤¯µ¡Ç½¤·¤Þ¤»¤ó¡£ ¤â¤Ã¤È¤â¡¢¤³¤ì¤À¤±¤Ç¤Ï¡¢3¤ÎÇÜ¿ô¤Î¸Ä¿ô¤¬1/3¤Ë¡Ö¤Ê¤é¤Ê¤¤¡×¤³¤È¤Î¾ÚÌÀ¤Ë¤Ï¤Ê¤ê¤Þ¤»¤ó¤¬¡£ ¤Þ¤¿¡¢Áª¤Ù¤ë¿ô»ú¤¬¡¢1 ¡Á 9 ¤È¤¤¤¦¤³¤È¤â½ÅÍפǤ¹¤Í¡£Î㤨¤Ð¡¢1 ¡Á 8 ¤Ç¤Ï¤¦¤Þ¤¯µ¡Ç½¤·¤Þ¤»¤ó¡£ (ÄɲÃ) ¤«¤¨¤Ã¤ÆÌÌÅݤˤʤäƤ·¤Þ¤¤¤Þ¤·¤¿¤¬¡¥¡¥¡¥ Áª¤Ö¿ô»ú¤ÎËç¿ô¤¬3¤ÎÇÜ¿ô¤Î¾ì¹ç¡¢Æäˡ¢3Ëç¤òÁª¤Ö¾ì¹ç¤ò¹Í¤¨¤Þ¤¹¡£6Ëç¤Î¾ì¹ç¤Ç¤âƱÍͤǤ¹¡£ ¤³¤Î¾ì¹ç¡¢+1, -1 ¤ÎÁàºî¤Ë¤è¤Ã¤Æ¡¢Áª¤ó¤À¿ô»ú¤ÎϤò3¤Ç³ä¤Ã¤¿Í¾¤ê¤ÏÊѤï¤ê¤Þ¤»¤ó¡£ ¤³¤ì¤Ï¡¢¤³¤ÎÁàºî¤Ë¤è¤Ã¤Æ°Ü¤ê¹ç¤¦9ÁȤÎ3¸Ä¤Î¿ô»ú¤ÎÁȤ¬¡¢3¤Ç³ä¤Ã¤¿Í¾¤ê¤Ë´Ø¤·¤ÆƱ¤¸½¸¹ç¤Ë°¤¹¤ë¤³¤È¤ò°ÕÌ£¤·¤Þ¤¹¡£ ¤·¤¿¤¬¤Ã¤Æ¡¢Áª¤Ð¤ì¤¿¿ô»ú¤«¤éºî¤é¤ì¤ë¿ô¡¢3¤ÎÇÜ¿ô¡¢3¤Ç³ä¤Ã¤Æ1;¤ë¿ô¡¢3¤Ç³ä¤Ã¤Æ2;¤ë¿ô¤½¤ì¤¾¤ì¤Î¸Ä¿ô¤¬¡¢9¤ÎÇÜ¿ô¤Ë¤Ê¤ë¤³¤È¤ò°ÕÌ£¤·¤Þ¤¹¡£ ¤½¤·¤Æ¡¢³Æ·å¤Î¿ô»ú¤Ï¡¢+1, -1 ¤ÎÁàºî¤Ç 1 ¡Á 9 ¤ËÊѲ½¤·¤Þ¤¹¡£¤½¤³¤Ç¡¢Î㤨¤Ð¡¢²¼°ì·å¤Î¿ô»ú¤ò 9 ¤Ë¸ÇÄê¤Ç¤¤Þ¤¹¡£ ¤³¤Î¤È¤¡¢ºî¤é¤ì¤ë¿ô¤Î¸Ä¿ô¤Ï¡¢»Ä¤ë2·å¤ò 1 ¡Á 8 ¤Þ¤Ç¤Î¿ô»ú¤«¤éºî¤ë¾ì¹ç¤Î¿ô¤ò¡¢9Çܤ·¤¿¤â¤Î¤Ë¤Ê¤ê¤Þ¤¹¡£ ¤È¤³¤í¤¬¡¢¤³¤Î2·å¤Î¿ô¤òºî¤ë¿ô»ú¤ÎÁȹ礻¤Ï¡¢8 * 7 / 2 = 28 Ä̤ê(¿ô¤È¤·¤Æʤ٤ë¾ì¹ç¤Ï¤³¤Î 2! ÇÜ)¤Ç¡¢ ¤³¤ì¤¬¡¢3¤ÎÇÜ¿ô¡¢3¤Ç³ä¤Ã¤Æ1;¤ë¿ô¡¢3¤Ç³ä¤Ã¤Æ2;¤ë¿ô¤òºî¤ë¿ô»ú¤ÎÁȹ礻¤Î¸Ä¿ô¤ÎϤǤ¹¡£ ¤Ä¤Þ¤ê¡¢ºî¤é¤ì¤ë¿ô¤¬3¤ÎÇÜ¿ô¤È¤Ê¤ë¾ì¹ç¤Ï¡¢¤³¤Î28Ä̤ê¤Î°ìÉô¤ò¡¢2Çܤ·¡¢¤µ¤é¤Ë9Çܤ·¤¿¤â¤Î¤Ç¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£ ¤·¤¿¤¬¤Ã¤Æ¡¢28¤Ï3¤Ç³ä¤ì¤Ê¤¤¤Î¤Ç¡¢3¤ÎÇÜ¿ô¤Î¸Ä¿ô¤ÏÁ´ÂΤÎ1/3¤Ë¤Ï¤Ê¤ì¤Þ¤»¤ó¡£ ¼ÂºÝ¤Ë¤Ï¡¢28 = 10 + 9 + 9 ¤È¤Ê¤ê¡¢3¤ÎÇÜ¿ô¤¬ 10 * 2 * 9 = 180 Ä̤ꡢ3¤Ç³ä¤Ã¤Æ1;¤ë¿ô¤¬ 9 * 2 * 9 = 162 Ä̤ꡢ 3¤Ç³ä¤Ã¤Æ1;¤ë¿ô¤Ï 9 * 2 * 9 = 162 Ä̤ꡢ¤È¤Ê¤ê¤Þ¤¹¡£ |
¥Í¥³¤Î½»¤à²È¡¡¡¡
4·î7Æü¡ÊÌÚ¡Ë 21:52:09¡¡¡¡
MAIL:uchi@sco.bekkoame.ne.jp ¡¡¡¡24858 |
¤¤¤Á¤¿¤¹¤Ë¤Ï |
£°¤¬£³¸Ä¡¢£±¤¬£³¸Ä¡¢£²¤¬£³¸Ä
¤½¤ÎÃ椫¤é£µ¸Ä¤È¤ë¤³¤È¤Ë¤·¤Þ¤·¤¿ |
¡¡¡¡
4·î7Æü¡ÊÌÚ¡Ë 17:52:02¡¡¡¡
¡¡¡¡24859 |
¥´¥ó¤È¤â |
#24854 ¤ò½½¿Êbasic¤Ç»î¤·¤Þ¤·¤¿¡£45ÉäǤ·¤¿¡£¼«Ê¬¤Î¡¡#24837 ¤â
45É䯤餤¤Ç¤¹¤¬¡£ÌäÂ꤬·å¤¬Áý¤¨¤È¤·¤Æloop¤¬Áý¤¨¤ë¤È¼«Ê¬¤Î¤ÏÂÌÌÜ¤Ç FOR ¤Î´Ö¤Ë IF THEN ¤ò¤Ï¤µ¤à¤Ç¤¹¤ë¤ÈÂбþ¤¹¤ëNEXT¦ ¤â¡¡END IF ¤Ç¤¹¤«¡£¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£¿¿¤óÃæ¤À¤±IF THEN ¤¹¤ë¤³¤È¤·¤«ÃΤ餺 ·«¤êÊÖ¤·¤¬¤ª¤ª¤¹¤®¤Ê¤Î¤«»ß¤Þ¤ë»ö¤¬¤ª¤ª¤¯¤Æ¤Ê¤ó¤È¤«¤·¤¿¤¤ ¤È»×¤Ã¤Æ¤¿¤ó¤Ç¤¹¡£¤ª¼êËܤȤ·¤Æ¥á¥âÄ¢¤ËÊݸ(¥¤¥ó¥¿¡¼¥Í¥Ã¥È¾å¤Î ÌäÂê¤ÏÁ´¤Æ»æ¤Ç¤Ê¤¯¥á¥âÄ¢¤Ç¤ä¤Ã¤Æ¤Þ¤¹¡£)³Ø¤Ð¤»¤Æ¤¤¤¿¤À¤¤Þ¤¹¡£¤Ç¤Ï¡£ |
ËÀî»Ô¡¡¡¡
4·î7Æü¡ÊÌÚ¡Ë 18:10:52¡¡¡¡
MAIL:fttnm528@ybb.ne.jp ¡¡¡¡24860 |
¥¹¥â¡¼¥¯¥Þ¥ó |
¤½¤¦¤«¡£¤ï¤¿¤·¤â¾ê;Îà¤Ç¹Í¤¨¤Þ¤·¤¿¤¬¡¦¡¦¡¦
£±¡Á£¹¤Î£µ¸Ä¤Î¿ô»ú¤Ç½ÐÍè¤ë¤â¤Î¤Ï¡¢£³¤Ç³ä¤Ã¤Æ£±Í¾¤ë¤â¤Î¤È£²Í¾¤ë¤â¤Î¤È³ä¤êÀÚ¤ì¤ë¤â¤Î¤Î¿ô¤ÏƱ¤¸¤Ï¤º¤À¤ï¤Í¡Á¡Êľ´¶¡ª¡Ë |
¡¡¡¡
4·î7Æü¡ÊÌÚ¡Ë 23:32:05¡¡¡¡
MAIL:kennji72001@yahoo.co.jp ¡¡¡¡24861 |
uchinyan |
¤¤¤Á¤¿¤¹¤Ë¤Ï ¤µ¤ó¤Ø¡§(º£²ó¤ÎÌäÂê¤Ë¤ÏľÀÜ´Ø·¸¤Ê¤¤¤Î¤Ç¡¢Â¾¤Î³§¤µ¤ó¡¢¤´¤á¤ó¤Ê¤µ¤¤¡£)
¤³¤Î´Ö¤Î¡¢¥·¥å¥¿¥¤¥Ê¡¼ÅÀËô¤Ï¥Õ¥§¥ë¥Þ¡¼ÅÀ¤Ç¤¹¤¬¡¢¼¡¤Î¥µ¥¤¥È¤ò¸«¤Ä¤±¤Þ¤·¤¿¡£ ¤³¤Î¥µ¥¤¥È¤Ç¤Ï¡¢¡Ö¥Õ¥§¥ë¥ÞÅÀ¡×¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¤¬¡¢¤«¤Ê¤ê°ìÈ̲½¤Ç¤¤ë¤è¤¦¤Ç¤¹¡£ http://aozoragakuen.sakura.ne.jp/taiwaN/p-geo/node2.html »ä¤ÏÃΤê¤Þ¤»¤ó¤Ç¤·¤¿¤¬¡¢¤³¤Î¥µ¥¤¥È¡¢¤Ò¤ç¤Ã¤È¤·¤¿¤éÍ̾¤Ê¥µ¥¤¥È¤«¤â¡£ ¹â¹»¥ì¥Ù¥ë¤Ç¤¹¤¬¡¢ÌÌÇò¤¤¤³¤È¤¬¤¤¤í¤¤¤í½ñ¤¤¤Æ¤¢¤ê¤Þ¤¹¡£ |
¥Í¥³¤Î½»¤à²È¡¡¡¡
4·î8Æü¡Ê¶â¡Ë 13:17:55¡¡¡¡
MAIL:uchi@sco.bekkoame.ne.jp ¡¡¡¡24862 |
K.N.I.F.E. |
ľ´¶¤Ç
(9P5)/3=15120/3=5040 ¤³¤ó¤Ê¼°¤Ë¤Ê¤ê¤Þ¤·¤¿¡£ |
¡¡¡¡
4·î8Æü¡Ê¶â¡Ë 17:33:24¡¡¡¡
¡¡¡¡24865 |
K.N.I.F.E. |
ľ´¶¤Ç
(9P5)/3=15120/3=5040 ¤³¤ó¤Ê¼°¤Ë¤Ê¤ê¤Þ¤·¤¿¡£ |
¡¡¡¡
4·î8Æü¡Ê¶â¡Ë 17:39:27¡¡¡¡
¡¡¡¡24866 |
¹Ò¶õ¥¢¥Ë¥Þ¥ë |
9*8*7*6*5=15120¡¢15120¤«¤é¡¢3¤ò³ä¤Ã¤Æ5040¡¢½ªÎ»¡£´Êñ¡£ |
¡¡¡¡
4·î8Æü¡Ê¶â¡Ë 23:11:56¡¡¡¡
¡¡¡¡24867 |
¤è¡¼¤ï¤«¤é¤ó |
£±£µ£±£²£°¤ò£³¤Ç³ä¤ëÍýͳ¤ò¤Á¤ã¤ó¤ÈÀâÌÀ¤·¤ÆÍߤ·¤¤¤Ç¤¹ |
¡¡¡¡
4·î8Æü¡Ê¶â¡Ë 23:26:45¡¡¡¡
¡¡¡¡24868 |
¤¤¤Á¤¿¤¹¤Ë¤Ï |
uchinyanÍÍ¡§¡Êº£²ó¤ÎÌäÂê¤Ë¤ÏľÀÜ´Ø·¸¤Ê¤¤¤Î¤Ç¡¢Â¾¤Î³§¤µ¤ó¡¢¤´¤á¤ó¤Ê¤µ¤¤¡£¡Ë
¤Þ¤À¥·¥å¥¿¥¤¥Ê¡¼ÅÀ¤Ë¤³¤À¤ï¤Ã¤Æ¤¤¤¿¤Î¤Ç¤¢¤ê¤¬¤¿¤¤¤Ç¤¹¡£ ¢ÜC¤ÎÂ礤µ¤¬°Û¤Ê¤ëCB¡áCA¤ÎÆóÅùÊÕ»°³Ñ·Á¤ò¤¤¤¯¤Ä¤«½ñ¤¤¤Æ¤ß¤Þ¤·¤¿¡£ ¢ÜC¤òÂ礤¯¤·¤Æ¤¤¤¯¤È¥·¥å¥¿¥¤¥Ê¡¼ÅÀP¤Ï¤É¤ó¤É¤óC¤Ë¶á¤Å¤ ¢ÜC¡á120¡ë¤Î»þP¤ÏC¤Ë°ìÃפ¹¤ë¤Î¤Ç¤¹¤¬ »ä¤Ë¤Ï¤½¤Îµ°Àפ¬ÆóÅÀB,C¤òÄ̤ë±ß¤Î¤è¤¦¤Ë¸«¤¨¤Þ¤¹¡£ Âʱߤò»È¤¦Ê̲ò¾ÚÌÀ¤Ë¶Ã¤¤Þ¤·¤¿¡£Ê̲ò¤Ë¤Ï¤¤¤Ä¤â°¢Á³¤È¤·¤Þ¤¹¡£ ¹Í¤¨Êý¤Ï¤è¡Á¤¯Ê¬¤«¤Ã¤¿¤Î¤Ç¤¹¤¬ ¡ÖÂʱߤÎÀÜÀþ¤ÎÀ¼Á¡×¤È¤ä¤é¤¬¤è¤¯Ê¬¤«¤é¤Ê¤«¤Ã¤¿¤ê¤·¤Þ¤¹¡£ |
¡¡¡¡
4·î9Æü¡ÊÅÚ¡Ë 12:49:41¡¡¡¡
¡¡¡¡24869 |
µÈÀî¡¡¥Þ¥µ¥ë |
#24868¡Ê¤è¡¼¤ï¤«¤é¤ó¡¡¤µ¤ó¡Ë
¡¡£³¤Ç³ä¤Ã¤ÆÎɤ¤Íýͳ¤Ç¤¹¤¬¡Ê¤Á¤Ê¤ß¤Ë¼è¤ê½Ð¤¹Ëç¿ô¤¬£³¤È¸ß¤¤¤ËÁǤǤ¢¤ë¤È¤¤Ï£³¤Ç³ä¤Ã¤ÆÎɤ¤¤ó¤Ç¤¹¤Í¡Ë¡¢uchinyan¤µ¤ó¤Î#24858¤¬´ÊÌÀ¤Çʬ¤«¤ê¤ä¤¹¤¤¤«¤È»×¤¤¤Þ¤¹¡£ |
PowerBook G4¡¡¡¡
4·î9Æü¡ÊÅÚ¡Ë 12:59:38¡¡¡¡
MAIL:masaru-y@san¡¡su.org HomePage:»»¥Á¥ã¥ì¡¡¡¡24870 |
¤¤¤Á¤¿¤¹¤Ë¤Ï |
ºÆ¤ÓuchinyanÍÍ
¡ÖÂʱߤÎÀÜÀþ¤ÎÀ¼Á¡×¤Î·ï¡¢Î»²ò¤Ç¤¹¡£¤´¤á¤ó¤Ê¤µ¤¤¡£ Á°²ó¤Î½ñ¤¹þ¤ß¤Ï ¡ÖÆóÄêÅÀB,C¤ò¤È¤ë¡£Æ°·ÂAC¡ÊAC¡áBC¡Ë¤òC¤òÃæ¿´¤Ë²óž¤µ¤»¡×¤Î°Õ¤Ç¤¹¡£ |
¡¡¡¡
4·î9Æü¡ÊÅÚ¡Ë 14:24:59¡¡¡¡
¡¡¡¡24871 |
uchinyan |
¤¤¤Á¤¿¤¹¤Ë¤Ï ¤µ¤ó¤Ø¡§
#24869¤Î ¡ä»ä¤Ë¤Ï¤½¤Îµ°Àפ¬ÆóÅÀB,C¤òÄ̤ë±ß¤Î¤è¤¦¤Ë¸«¤¨¤Þ¤¹¡£ ¤Ï¡¢¼¡¤Î¤è¤¦¤Ë¹Í¤¨¤ì¤Ð¡¢ÌÀ¤é¤«¡¢¤«¤È»×¤¤¤Þ¤¹¡£ ¥·¥å¥¿¥¤¥Ê¡¼ÅÀ¤ÎÆÃħ¤Ë¤Ï¤¤¤í¤¤¤í¤¢¤ê¤Þ¤¹¤¬¡¢¤¤¤Á¤¿¤¹¤Ë¤Ï¤µ¤ó¤¬¡¢°ÊÁ°¤Ë¤´»ØŦ¤Ë¤Ê¤Ã¤¿¡¢ ¢¤ABC¤Î³ÆÊÕ¾å¤Ë¤½¤ÎÊÕ¤ò°ìÊդȤ¹¤ëÀµ»°³Ñ·Á¤òºî¤ê¡¢¤½¤ÎÀµ»°³Ñ·Á¤Î¢¤ABC°Ê³°¤ÎĺÅÀ¤È¡¢ ¢¤ABC¤Î¤½¤ÎÀµ»°³Ñ·Á¤Ë´Þ¤Þ¤ì¤Ê¤¤ÄºÅÀ¤È¤ò·ë¤ó¤À3ËܤÎľÀþ¤Î¸òÅÀ¤¬¡¢¥·¥å¥¿¥¤¥Ê¡¼ÅÀ¤Ë¤Ê¤ë¤³¤È¤ò»È¤¤¤Þ¤¹¡£ ¤³¤ì¤é3ËܤÎľÀþ¤¬°ìÅÀ¤Ë¸ò¤ï¤ë¤³¤È¤Ï¡¢#24862¤Î¥µ¥¤¥È¤Î¾ÚÌÀ¤É¤ª¤ê¤Ç¤¹¤¬(Àµ»°³Ñ·Á¤Î¾ì¹ç¤Ï¤â¤Ã¤È´Êñ)¡¢ ¤³¤³¤Ç¸½¤ì¤ë¥·¥å¥¿¥¤¥Ê¡¼ÅÀ¤òÄ̤ë±ß¤Ï¡¢¼Â¤Ï¡¢³ÆÊÕ¾å¤Î»°¤Ä¤ÎÀµ»°³Ñ·Á¤½¤ì¤¾¤ì¤Î³°ÀܱߤˤʤäƤª¤ê¡¢ ¤³¤Î»°¤Ä¤Î±ß¤¬¥·¥å¥¿¥¤¥Ê¡¼ÅÀ¤Ç°ìÅÀ¤Ë¸ò¤ï¤Ã¤Æ¤¤¤ë¤³¤È¤¬Ê¬¤«¤ê¤Þ¤¹¡£ ¤½¤¦¤Ê¤ë¤È¡¢Î㤨¤Ð¡¢BC¤ò¸ÇÄꤷ¤Æ¡¢¢ÜACB¤òÊѲ½¤µ¤»¤¿¾ì¹ç¡¢¤³¤ì¤é»°¤Ä¤ÎÀµ»°³Ñ·ÁµÚ¤Ó±ß¤È¥·¥å¥¿¥¤¥Ê¡¼ÅÀ¤È¤Î´Ø·¸¤Ï¡¢ ¾¯¤Ê¤¯¤È¤â¡¢¢ÜACB <= 120Å٤ޤǤÏÊѤï¤é¤Ê¤¤¤·¡¢BC¤Ï¸ÇÄꤷ¤Æ¤¤¤ë¤Î¤Ç¡¢BC¤òÄ̤ë±ß¤Ï¸ÇÄꤵ¤ì¤Æ¤ª¤ê¡¢ ¥·¥å¥¿¥¤¥Ê¡¼ÅÀ¤Ï¡¢BC¤òÄ̤ëÀè¤Û¤É¤Î±ß¾å¤òÆ°¤¯¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£ ¤Ê¤ª¡¢Âʱߤò»È¤Ã¤¿¾ÚÌÀ¤Ï¡¢»ä¤â¿·Á¯¤Ç¤·¤¿¡£ Ä̾ï¤ÎÊ¿ÌÌ´ö²¿¤Ï¡¢±ß¤È¿³Ñ·ÁÄøÅ٤Ǥ¹¤¬¡¢°ìÈ̤ÎÆ󼡶ÊÀþ¤Þ¤Ç»È¤¦¤È¡¢¿·¤¿¤Ê»ëÅÀ¤¬³«¤±¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¤Í ^^/ |
¥Í¥³¤Î½»¤à²È¡¡¡¡
4·î10Æü¡ÊÆü¡Ë 14:24:13¡¡¡¡
MAIL:uchi@sco.bekkoame.ne.jp ¡¡¡¡24872 |
¤×¡¼ÂÀϺ |
µ¤¹ç¤Ç½ñ¤½Ð¤·¤¿ |
¡¡¡¡
4·î11Æü¡Ê·î¡Ë 16:21:35¡¡¡¡
¡¡¡¡24873 |
¤Þ¤ë¥±¥ó |
#24860
¥×¥í¥°¥é¥à¤Î¼Â¹Ô»þ´Ö¤ò¸ì¤ë¤Ë¤Ï¡¢¥Þ¥·¥ó¤Î¥¹¥Ú¥Ã¥¯¤Î¾ò·ï¤¬Âç»ö¤«¤È¡£ ¤Á¤Ê¤ß¤Ë¡¢ruby¤Ç¤«¤¤¤¿¥×¥í¥°¥é¥à¤òVictor¤Î¤Á¤Ã¤Á¤ã¤¤¥Î¡¼¥ÈInterLink¡ÊPentiumM¡¢1GHz¡Ë¤ÇÁö¤é¤»¤¿¤È¤³¤í¡¢3.3É䯤餤¤Ç½Ð¤Þ¤·¤¿¡£ ¤Þ¤À¤Þ¤À®¤¯¤Ç¤¤ë¤È¤³¤í¤Ï»Ä¤Ã¤Æ¤¤¤Þ¤¹¤¬¡¢°Ê²¼¤Ë¥×¥í¥°¥é¥à¤ò»¯¤·¤Þ¤¹¡£ ¡ÊÃʲ¼¤²¤Î¤¿¤á¤ËÁ´³Ñ¥¹¥Ú¡¼¥¹¤ò»È¤Ã¤Æ¤Þ¤¹¡Ë j = k = 0 (12345..98765).each do |i| ¡¡¡¡(a=i.to_s.split('').uniq).delete('0') ¡¡¡¡if(a.size == 5) then ¡¡¡¡¡¡¡¡j += 1 ¡¡¡¡¡¡¡¡k += 1 if((i%3) == 0) ¡¡¡¡end end p j, k ¥×¥í¥°¥é¥à¤Î²òÀ⡧ ¿ô»ú¤¬½ÅÊ£¤·¤è¤¦¤¬0¤¬Æþ¤í¤¦¤¬¡¢Á´¤¯¤«¤Þ¤ï¤º¤Ë12345¤«¤é98765¤Þ¤Ç¤ÎϢ³¤·¤¿¿ô»ú¤òºî¤ê¤Þ¤¹¡£¡Ê12345..98765¡Ë ¤½¤Î¤½¤ì¤¾¤ì¤Ë¤Ä¤¤¤Æ¡Êeach¡¡do¡¡¡¦¡¦¡¦¡¡end¡Ë¡¢¿ô»ú¤òʸ»úÎó¤ËÊÑ´¹(to_s)¤·¡¢¹½À®¤¹¤ëʸ»ú¤ò°ì·å¤º¤Ä¤Ð¤é¤·(split)¡¢¤³¤³¤Ç¤Ï¤¸¤á¤Æ½ÅÊ£¤¹¤ëʸ»ú¤ò½ü¤(uniq)¡¢¤µ¤é¤Ë'0'¤ò¼è¤ê½ü¤¤Þ¤¹(delete)¡£ ¤³¤Î·ë²Ì¤Î·å¿ô(size)¤¬¡¢¸µ¤Î·å¿ô(=5)¤ÈÅù¤·¤«¤Ã¤¿¾ì¹ç¤Ï¡¢º£²ó¤ÎÌäÂê¤Çºî¤ì¤ë¿ô»ú¤Ç¤¢¤ë¤È¸À¤¦¤³¤È¤Ç¡¢¤½¤ÎÁí¿ô¡ÊÊÑ¿ô£ê¡Ë¤ò£±Áý¤ä¤·¤Þ¤¹¡£ ¤Þ¤¿¡¢¤³¤Î·ë²Ì¤Î¿ô»ú¤¬£³¤Ç³ä¤êÀÚ¤ì¤ë¤Ê¤é¤Ð¡¢¤½¤ÎÁí¿ô¡ÊÊÑ¿ô£ë¡Ë¤ò£±Áý¤ä¤·¤Þ¤¹¡£ Á´Éô½ª¤ï¤Ã¤¿¤é·ë²Ì¤Îɽ¼¨¡£¡Ê£ð¡Ë Let's ruby!! |
¡¡¡¡
4·î12Æü¡Ê²Ð¡Ë 10:22:46¡¡¡¡
MAIL:take4310@mobile.email.ne.jp HomePage:¤Þ¤ë¥±¥ó¤ÎÉô²°¡¡¡¡24874 |
DrK |
º£²ó¤Ï¡¢9¤Ä¤«¤é5¤Ä¤òÁª¤ÖÊýË¡¤Ç¡¢¹ç·×¤¬3¤ÎÇÜ¿ô¤Ë¤Ê¤ëÁȤ߹ç¤ï¤»¤ò¹Í¤¨¤ì¤Ð¤è¤¤¡£
3¤Ç³ä¤Ã¤Æ1;¤ë¿ô¤Î½¸¹ç¡¢2;¤ë¿ô¤Î½¸¹ç¡¢³ä¤êÀÚ¤ì¤ë¿ô¤Î½¸¹ç¤Ëʬ¤±¤ë¡£ 3¤Ç³ä¤Ã¤Æ1;¤ë¿ô¤È2;¤ë¿ô¤Î¿ô¤ÏƱ¤¸¤Ë¤Ê¤ë¡£0¸Ä¤Ï3¤Ç³ä¤êÀÚ¤ì¤ë¿ô¤¬5¸ÄɬÍפʤ¿¤áÉԲġ¢3¸Ä¤Î¾ì¹ç¤Ï¹ç·×¤¬6¸Ä¤È¤Ê¤ë¤¿¤áÉԲġ£½¾¤Ã¤Æ1¸Ä¤Þ¤¿¤Ï2¸Ä¤È¤Ê¤ë¡£ 1¸Ä¤Å¤Ä¤Î¾ì¹ç¤Ï¡¢3¡ß3¡ß1=9 2¸Ä¤Å¤Ä¤Î¾ì¹ç¤Ï¡¢3¡ß3¡ß3=27 ¤½¤ì¤¾¤ì¤Î½¸¹ç¤Ï3¸Ä¤¢¤ë¤³¤È¤«¤é¡¢3¤Ç³ä¤Ã¤Æ;¤ë¿ô¤Ë¤Ä¤¤¤Æ¤Ï3¸ÄÁ´¤Æ¤òÁª¤Ö¤³¤È¤â²Äǽ¡£¤³¤Î¾ì¹ç¤Ï¡¢3¤Ç³ä¤êÀÚ¤ì¤ë¿ô¤ò2¸ÄÁª¤Ö¤³¤È¤Ë¤Ê¤ë¡£ ¤³¤Î¾ì¹ç¤Ï¡¢¤É¤Á¤é¤«¤Î½¸¹ç¤òÁª¤Ö¤³¤È¤Ë¤Ê¤ê¡¢ 2¡ß3=6 ¹ç·×¤Ï9+27+6=42¤È¤Ê¤ë ¤³¤ì¤é¤Î½çÎó¤ò¹Í¤¨¤ì¤Ð¤è¤¯ 42¡ß5¡ß4¡ß3¡ß2¡ß1=5040¤¬Åú¤¨ |
º£¤ÏÇÑÔÒ¡¡¡¡
4·î12Æü¡Ê²Ð¡Ë 12:58:27¡¡¡¡
MAIL:satoka@star.odn.ne.jp ¡¡¡¡24875 |
µÈÀî¡¡¥Þ¥µ¥ë |
#24874
¡¡¤¦¤Á¤ÎPowerBook G4(800MHz¡¢Îã¤Î¥Ñ¥Á¥¹¥íÂçÇúȯ¤Ç£³Ç¯Á°Çã¤Ã¤¿¤ä¤Ä¤Ç¤¹¡Ë¤À¤È¡¢4.75ÉáÁ5.04É䯤餤¤Ç¤·¤¿¡£time´Ø¿ô¤Ç·×¬¤¹¤ëÊýË¡¤ÇÎɤ¤¤Î¤Ç¤¹¤«¤Í¤§¡©¡Ê¤³¤ì¤À¤Èruby¤òµ¯Æ°¤¹¤ë»þ´Ö¤â´Þ¤Þ¤ì¤½¤¦¤Ç¤¹¤¬¡Ë |
PowerBook G4¡¡¡¡
4·î12Æü¡Ê²Ð¡Ë 13:41:04¡¡¡¡
MAIL:masaru-y@san¡¡su.org HomePage:»»¥Á¥ã¥ì¡¡¡¡24876 |
¥´¥ó¤È¤â |
#24874
DREAMSYS ¤Î¡¡celeron ¤Î2.49GHz ¤Ç2003ǯ9·îº¢¤ËËÜÂÎ 5Ëü9800±ß¤Ç¥â¥Ë¥¿¡¼ÉÕ¤±¤Æ8Ëü9800±ß¤Ç¤·¤¿¡£ (¥¹¤Ú¥Ã¥¯¤ËÃÍÃʤϾ¯¤·´Ø·¸¤¢¤ë¤È»×¤Ã¤¿¤ó¤ÇÃÍÃʤ⻲¹Í¤Þ¤Ç¤Ë)¡¡¡¡¡¡ |
ËÀî»Ô¡¡¡¡
4·î12Æü¡Ê²Ð¡Ë 15:55:59¡¡¡¡
MAIL:fttnm528@ybb.ne.jp ¡¡¡¡24877 |
¤Þ¤ë¥±¥ó |
#24876
¤¢¡¢»ä¤Î¤âtime¤Ç¤Î·×¬·ë²Ì¤Ç¤¹¡£ ruby¤Îµ¯Æ°»þ´ÖÅù¤Ï¡¢¡¢¡¢¤Þ¡¢¸íº¹¤È¸À¤¦¤³¤È¤Ç¡£ ¤Á¤Ê¤ß¤Ë¡¢#24874¤Ë»¯¤·¤¿¥×¥í¥°¥é¥à¤Ï¡¢¥ê¥¢¥ë¥¿¥¤¥à¤ÇÄ©À路¤¿¤È¤¤Î¤â¤Î¤Ç¤·¤Æ¡¢¥×¥í¥°¥é¥à¤È¤·¤Æ¤Ïľ´¶Åª¤Ë¹Í¤¨¤é¤ì¤Æ¡¢Ã»¤¯½ñ¤±¤ë¤Ã¤Æ¤¤¤¦¥á¥ê¥Ã¥È¤ÎÈ¿ÌÌ¡¢·è¤·¤Æ¸úΨ¤Î¤è¤¤¤â¤Î¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¤Ç¤·¤¿¡£ ¡Ê#24837¤ä#24854¤òruby¤Ç½ñ¤Ä¾¤·¤¿¤é¡¢0.5ÉäȤ«¤Ç·ë²Ì¤¬½Ð¤Þ¤·¤¿¡Ë ¤È¤¤¤¦¤³¤È¤Ç¡¢ËÜÆü¤Ï²ñ¼Ò¤Ë¤Æ¡Ö³Æ¼ï»»½Ñ·×»»¤Î¥¢¥ë¥´¥ê¥º¥à¤ÎÄ´ºº¤ª¤è¤Ó¸¡¾Ú¡×¤È¤¤¤¦¥Æ¡¼¥Þ¤Ç¡¢¤â¤Ã¤È°ìÈÌŪ¤Ê¿ô»ú(£í¤È£î¤òÍ¿¤¨¤ë)½çÎó¤Î¥×¥í¥°¥é¥à¤Ê¤É¤ò¤·¤Æ¤ß¤Þ¤·¤¿¡£¤½¤·¤¿¤é¡¢¥×¥í¥°¥é¥à¤ÏŤ¯¤Ê¤Ã¤Á¤ã¤Ã¤¿¤±¤É¡¢¼Â¹Ô»þ´Ö¤Ï0.85ÉäޤÇû½Ì¤Ç¤¤Þ¤·¤¿¡£ Îã¤Ë¤è¤Ã¤Æ¡¢Á´³Ñ¥¹¥Ú¡¼¥¹»È¤Ã¤Æ¤Þ¤¹¡£ # pPc # Permutation def perm(a, c) ¡¡¡¡if(c == 0) then ¡¡¡¡¡¡¡¡return [] ¡¡¡¡end ¡¡¡¡if(c == 1) then ¡¡¡¡¡¡¡¡return a.map do |s| [s] ; end ¡¡¡¡end ¡¡¡¡r = Array.new ¡¡¡¡a.size.times do ¡¡¡¡¡¡¡¡j = a.shift ¡¡¡¡¡¡¡¡r += perm(a, c-1).map do |s| s.insert(0, j); end ¡¡¡¡¡¡¡¡a.push j ¡¡¡¡end ¡¡¡¡return r end if(ARGV.size < 2) then ¡¡¡¡p = 9 ¡¡¡¡c = 5 else ¡¡¡¡p = ARGV[0].to_i ¡¡¡¡c = ARGV[1].to_i end a = (1..p).to_a j = k = 0 perm(a, c).each do |s| ¡¡¡¡j += 1 ¡¡¡¡k += 1 if (s.join('').to_i % 3 == 0) end p j, k perm´Ø¿ô¤Ï¡¢°ú¿ô£á¤ËÍ×ÁǤòÍåÎó¤·¤¿ÇÛÎó¡¢£ã¤Ë¤½¤ÎÃ椫¤éÁª¤Ö¿ô¤òÍ¿¤¨¤ë¤È¡¢Í×ÁÇ¿ô£ã¤ÎÇÛÎó¤ÎÇÛÎó¤òÊÖ¤¹¤Ã¤Æ¤Ê¤³¤È¤Ë¤Ê¤Ã¤Æ¤Þ¤¹¡£ Í¿¤¨¤é¤ì¤¿ÇÛÎó¤ÎÀèƬ¤ÎÍ×ÁǤòshift¤Ç¼è¤ê½ü¤¡¢ºÆµ¢¸Æ¤Ó½Ð¤·¤Ç¤µ¤é¤Ë·×»»¤µ¤»¡¢»È¤Ã¤¿Í×ÁǤÏpush¤ÇºÇ¸åÈø¤ËÏ¢·ë¤¹¤ë¤Ã¤Æ¤Î¤¬¥ß¥½¤Ç¤¹¡£¤Ç¤â¡¢¤½¤Î¤»¤¤¤Ç·ë²Ì¤Ï¼½ñŪ½çÈ֤ǤϤʤ¯¤Ê¤Ã¤Á¤ã¤Ã¤Æ¤Þ¤¹¤¬¡¢¡¢¡¢ % ruby perm.rb ¤È¤«¤¹¤ì¤Ð¡¢º£²ó¤ÎÌäÂê¤ÎÅú¤¨¤¬½Ð¤ë¤·¡¢ % ruby perm.rb 9 3 ¤Ê¤ó¤Æ¤¹¤ì¤Ð¡¢Á´ÂΤÎ1/3¤Ë¤Ê¤é¤Ê¤¤¥±¡¼¥¹¤Î¸¡¾Ú¤â¤Ç¤¤Þ¤¹¡£ |
¡¡¡¡
4·î12Æü¡Ê²Ð¡Ë 17:23:02¡¡¡¡
MAIL:take4310@mobile.email.ne.jp HomePage:¤Þ¤ë¥±¥ó¤ÎÉô²°¡¡¡¡24878 |
¤Þ¤ë¥±¥ó |
#24878
¤Ò¤È¤ê¤Ä¤Ã¤³¤ß¤Ç¤¹¡£ perm¤ÎÊÖ¤¹·ë²Ì¤ò¼½ñŪ½çÈ֤ˤ¹¤ë¤Ê¤é¡¢ºÆµ¢¸Æ¤Ó½Ð¤·¤¹¤ë¤È¤³¤í¤Ç¥½¡¼¥È¤¹¤ì¤Ð¤è¤¤¤À¤±¤ÇOK¤Ç¤·¤¿¡£ r += perm(a, c-1).map do |s| s.insert(0, j); end ¡¡¡¡¡¡¡¡¡¡¡¡¢ r += perm(a.sort, c-1).map do |s| s.insert(0, j); end |
¡¡¡¡
4·î12Æü¡Ê²Ð¡Ë 19:25:21¡¡¡¡
MAIL:take4310@mobile.email.ne.jp HomePage:¤Þ¤ë¥±¥ó¤ÎÉô²°¡¡¡¡24879 |
¤¤ç¤íʸ |
9P5*1/3¡¡´Êñ
Íýͳ¤ÏÃΤé¤ó¤±¤É¡Ä ¤¹¤Ã¤«¤ê˺¤ì¤Æ¤¿¡Ä P.S¤³¤Î´Ö½ÈÀî¤Ë¤ª²Ö¸«¤Ë¹Ô¤Ã¤Æ¤¤¿¤¾¡ª¡ª |
¢å2¤ÎÎÙ¡¡¡¡
4·î12Æü¡Ê²Ð¡Ë 21:21:54¡¡¡¡
MAIL:kyorofumi@msn.com HomePage:¤¤ç¤íʸ¥é¥ó¥É¡¡¡¡24880 |
¤æ¤ó¤Ê¤Ê¤³ |
¤·¤Æ15¤Ë¤Ê¤ë¤Î¤¬{1,2,3,4,5}¤ÇʤÓÂؤ¨¤¿¤é120¤È¤ª¤ê
18¤Ë¤Ê¤ë¤Î¤¬{1,2,3,4,8}¤È{1,2,3,5,7}¤È{1,2,4,5,6}¤Ç¡Ä ¤Ã¤Æ¤ä¤Ã¤Æ¤¯¤È42¥»¥Ã¥È¤Ç¤Æ¤¤Æ¡¢Á´Éô120¤º¤Ä¤Ç¤¤ë¤«¤é¡¢5040¡£ |
¤ª¤¦¤Á¡¡¡¡
4·î13Æü¡Ê¿å¡Ë 19:17:05¡¡¡¡
HomePage:¤æ¤«¤ó¤Å¤á¡¡¡¡24881 |
µÈÀî¡¡¥Þ¥µ¥ë |
¤³¤ì¤«¤éµ¢Â𤷤ޤ¹¡£Îã¤Ë¤è¤Ã¤Æ¡¢Åż֤ÎÃæ¤Ç¹¹¿·»þ¹ï¤ò·Þ¤¨¤ë¤³¤È¤Ë¤Ê¤ë¤«¤È»×¤¤¤Þ¤¹¤Î¤Ç¡¢½ç°Ìɽ¤Î¹¹¿·¤Ïµ¢Âð¸å¡Êº£Æü¤Ï12:30¤¯¤é¤¤¤«¤Ê¤¡¡Ë¤Ë¤Ê¤ë¤«¤È»×¤¤¤Þ¤¹¡£ËèÅÙ¿½¤·Ìõ¤¢¤ê¤Þ¤»¤ó¡£m(__)m
# ¥ß¥¹¤¬¤Ê¤±¤ì¤ÐÎɤ¤¤Î¤Ç¤¹¤¬...¡£ |
PowerBook G4¡¡¡¡
4·î13Æü¡Ê¿å¡Ë 23:39:07¡¡¡¡
MAIL:masaru-y@san¡¡su.org HomePage:»»¥Á¥ã¥ì¡¡¡¡24882 |