ʪÍý¹¥¤­
¥×¥í¥°¥é¥ß¥ó¥°¤Ç¤¹¡£(forʸ9²ó¥Í¥¹¥È)
Åú¤¨¤¬¥¾¥íÌܤȤ϶ä­¤Þ¤·¤¿
222
Âçºå¡¡¡¡ 10·î29Æü¡ÊÌÚ¡Ë 0:08:51¡¡¡¡ MAIL:butsuri.0523@gmail.com HomePage:Math Labyrinth Âè9²ó¹¹¿·¡ª¡¡¡¡43839
¥Ù¥ë¥¯¡¦¥«¥Ã¥Ä¥§
ºÇ½é¤Ï¹ç·×6¤«¤é¹Í¤¨¤è¤¦¤È¤·¤Æ¡¢ÌÌÅݤˤʤꤽ¤¦¤Ê¤Î¤ÇÊý¿Ëž´¹¡£
3¤Ç³ä¤Ã¤¿Í¾¤ê¤ËÃíÌܤ¹¤ë¤È0¡¢1¡¢2¤¬¤½¤ì¤¾¤ì»°¤Ä¤¢¤ê¡¢000¡¢111¡¢222¤Èʬ¤±¤ë¥Ñ¥¿¡¼¥ó¤¬6Ä̤ꡢÁ´°÷012¤È¤¹¤ë¥Ñ¥¿¡¼¥ó¤¬3¡ß3¡ß3¡ß2¡ß2¡ß2¡á216Ä̤ꡢ¹ç·×22Ä̤ê¤Ë¤Ê¤ê¤Þ¤·¤¿¡£
¡¡¡¡ 10·î29Æü¡ÊÌÚ¡Ë 0:09:45¡¡¡¡ ¡¡¡¡43840
ʪÍý¹¥¤­
¤½¤¦¤¤¤¨¤Ðº£²ó¤Ï950²ó¤Ç¤¹¡£
¤ª¤á¤Ç¤È¤¦¤´¤¶¤¤¤Þ¤¹!!
Âçºå¡¡¡¡ 10·î29Æü¡ÊÌÚ¡Ë 0:11:41¡¡¡¡ MAIL:butsuri.0523@gmail.com HomePage:Math Labyrinth Âè9²ó¹¹¿·¡ª¡¡¡¡43841
¥¹¥â¡¼¥¯¥Þ¥ó
ºÇ½é¡Ä
(3^3*2^3+1)*3!=1301 ¤À¤È»×¤Ã¤Æ¤¿¡Ä
¤è¤¯¹Í¤¨¤¿¤é¡Ä
3^3*2^3*1^3/3!+1*3!=222
¤Ç¤¤¤¤¤³¤È¤Ëµ¤ÉÕ¤±¤Þ¤·¤¿¤ï ^^;v
¶â¨À§¶õ ^^;v¡¡¡¡ 10·î29Æü¡ÊÌÚ¡Ë 0:15:57¡¡¡¡ ¡¡¡¡43842
¤ß¤«¤ó
¤¢¤Þ¤ê¤ÎÉôʬ¤ò£°¡¢£±¡¢¡Ý£±¤È¤·¤Æ¹Í¤¨¤Þ¤·¤¿¤¬¡¢#43840¤ÈƱ¤¸¤ä¤êÊý¤Ç¤·¤¿¡£
¡¡¡¡ 10·î29Æü¡ÊÌÚ¡Ë 0:16:18¡¡¡¡ ¡¡¡¡43844
»»¿ôÂç¹¥¤­
3¤Ç³ä¤Ã¤¿Í¾¤ê¤ËÃåÌܤ·¤Æ¡¤
(0,0,0)(1,1,1)(2,2,2)¤Î¾ì¹ç¤¬¡¤3¡ß2¡ß1=6Ä̤ê
3¿Í¤È¤â(0,1,2)¤Î¾ì¹ç¤¬¡¤6¡ß6¡ß6=216Ä̤ê
¤Ê¤Î¤Ç¡¤6¡Ü216¡á222Ä̤꤬Åú¤¨¡£
¡¡¡¡ 10·î29Æü¡ÊÌÚ¡Ë 0:17:04¡¡¡¡ ¡¡¡¡43845
Mr.¥À¥ó¥Ç¥£
£Á0¡á{3,6,9} ,A1={1,4,7{ ,A2={2,5,8}
¤È3¤Ç³ä¤Ã¤¿Í¾¤ê¤ÇʬÎष
3¿Í¤È¤â¤¬¡¡Ï¤¬¡¡3¤ÎÇÜ¿ô¤È¤Ê¤ë¤Î¤Ï

­¡¡¡3¿Í¤È¤â¤¬¡¡£Á0¡¤£Á1¡¤£Á2¤Î¥°¥ë¡¼¥×¤´¤È¤ò°ú¤¯¾ì¹ç¡¡.....3!¡á6¡ÊÄ̤ê¡Ë
­¢3¿Í¤È¤â¤¬¡¡£Á0¡¤£Á1¡¤£Á2¤«¤é1¥Þ¥¤¤º¤Ä°ú¤¯¾ì¹ç......6^3=216¡ÊÄ̤ê¡Ë
¤è¤Ã¤Æ¡¡
6+216¡á222¡ÊÄ̤ê¡Ë¡¡...............¤È¤·¤Þ¤·¤¿¡£
¡¡¡¡ 10·î29Æü¡ÊÌÚ¡Ë 0:22:41¡¡¡¡ ¡¡¡¡43846
º£Ç¯¤«¤é¹âÎð¼Ô
Internet Explorer¤ÎÄ´»Ò¤¬°­¤¯¡¢¥Ú¡¼¥¸¤ò³«¤¯¤Î¤Ë¼ºÇÔ¡£
Firefox¤ò»È¤Ã¤Æ¡¥¡¥¡¥¡£
¤Ï¤¸¤á¤Ï¡¢Ê£»¨¤½¤¦¤Ê¤Î¤Ç¡¢°ìÉþ¡¥¡¥¡¥¡£Íî¤ÁÃ夤¤Æ¹Í¤¨¤ì¤Ð¡¢¿Í¤ò¶èÊ̤·¤Ê¤±¤ì¤Ð°Õ³°¤È¾¯¤Ê¤¯¡£
#43840¤È¤ª¤Ê¤¸¤Ç¤·¤¿¡£
¡¡¡¡ 10·î29Æü¡ÊÌÚ¡Ë 0:24:14¡¡¡¡ ¡¡¡¡43847
¥´¥ó¤È¤â
½½¿ÊBasic ¤Ç

FOR a=1 to 9
FOR b=a+1 to 9
if b=a then goto 80
FOR c=b+1 to 9
if c=a or c=b or mod(a+b+c,3)<>0 then goto 70
FOR d=1 to 9
if d=a or d=b or d=c then goto 60
FOR e=d+1 to 9
if e=a or e=b or e=c or e=d then goto 50
FOR f=e+1 to 9
if f=a or f=b or f=c or f=d or f=e or mod(d+e+f,3)<>0 then goto 40
FOR g=1 to 9
if g=a or g=b or g=c or g=d or g=e or g=f then goto 30
FOR h=g+1 to 9
if h=a or h=b or h=c or h=d or h=e or h=f or h=g then goto 20
FOR i=h+1 to 9
if i=a or i=b or i=c or i=d or i=e or i=f or i=g or i=h or mod(g+h+i,3)<>0 then goto 10
let s=s+1
10 next i
20 next h
30 next g
40 next f
50 next e
60 next d
70 next c
80 next b
90 next a
print s
end

f9²¡¤·¤Æ¡¡222¡¦¡¦¡¦¡¦¡¦¡¦(Åú¤¨)
Ë­Àî»Ô¡¡¡¡ 10·î29Æü¡ÊÌÚ¡Ë 1:11:11¡¡¡¡ ¡¡¡¡43848
¤¢¤á¤¤
¿¤¯¤ÎÊý¤ÈƱ¤¸¡¢Í¾¤ê¤ÇʬÎष¡¢£³¿Í¤È¤âƱ¤¸¥°¥ë¡¼¥×¤ò¤È¤ë¡¢£³¿Í¤È¤â°ã¤¦¥°¥ë¡¼¥×¤ò¤È¤ë¤Î¾ì¹çʬ¤±¤Ç¡£
¾ì¹ç¤Î¿ô¤Ï¤¤¤Ä¤âÈ´¤±Íî¤Á¤¬¤¢¤êº£²ó¤â£²¥Ñ¥¿¡¼¥ó°Ê³°¤Î¤â¤Î¤¬¤¢¤ë¤Î¤Ç¤Ï¤È¡¢ÀΥѥÁ¥ó¥³¹¥¤­¤À¤Ã¤¿¿È¤Ë¤Ï¥¾¥íÌܤϵդËÀäÂФ¢¤ä¤·¤¤¤¾¤Ê¤É¤È¤¹¤Ã¤­¤êÅú¤¬½Ð¤»¤¿³ä¤Ë¤Ï¤¹¤Ã¤­¤ê¤·¤Ê¤¤»×¤¤¤ÎÌäÂê¤Ç¤·¤¿¡£
¤ªÇϺꡡ¡¡ 10·î29Æü¡ÊÌÚ¡Ë 6:19:22¡¡¡¡ ¡¡¡¡43850
¹«¤ÎÌ´
£³,£¶,£¹¤ò°ì¤Ä¤º¤Ä£³¿Í¤ËʬÇÛ¤·¡¢»Ä¤ê£¶¸Ä¤Î¿ô»ú¤ò£³¤ÎÇÜ¿ô¤Ë¤Ê¤ëÍÍ£³¼ïÎà¤Ëʬ¤±¤Æ£¶¡ß£¶¡ß£¶¡á£²£±£¶¡¢¤·¤«¤·¡¢Æþ¤ì¤Ê¤¤²¿¸Î¡¦¡¦¡¦¡¦¡¢¤¦¡¼¤ó¡¼¡¢¤½¤¦¤«¡¢£³,£¶,£¹Á´¤Æ¤ò»È¤¦¤â¤Î¤È»Ä¤ê£¶¸Ä¤«¤é£³¤ÎÇÜ¿ô¤È¤Ê¤ëÁȤ߹ç¤ï¤»¤ò¸«¤Ä¤±¡¢¤³¤ì¤¬£¶¼ïÎà¡¢°ø¤Ã¤Æ£²£²£²¤È¤Ê¤ê¤Þ¤·¤¿¡£
¿¿Çò¤­ÉٻΤÎÎæ¡¡¡¡ 10·î29Æü¡ÊÌÚ¡Ë 7:54:54¡¡¡¡ ¡¡¡¡43851
???
VBSCRIPT
k=0
for a=1 to 9-2
for b=a+1 to 9-1
for c=b+1 to 9
if (a+b+c) mod 3=0 then
for d=1 to 9-2
if a<>d and b<>d and c<>d then
for e=d+1 to 9-1
if a<>e and b<>e and c<>e then
for f=e+1 to 9
k=k-(a<>f and b<>f and c<>f and (d+e+f) mod 3=0)
next
end if
next
end if
next
end if
next
next
next
msgbox k
¡¡¡¡ 10·î29Æü¡ÊÌÚ¡Ë 8:29:57¡¡¡¡ ¡¡¡¡43852
uchinyan
¤Ï¤¤¡¤¤³¤ó¤Ë¤Á¤Ï¡£¤µ¤Æ¡¤º£²ó¤ÎÌäÂê¤Ï¡¥¡¥¡¥
¤³¤ì¤Ï¡¤»»¥Á¥ã¥ì¤È¤·¤Æ¤Ïɸ½àŪ¤«¤ä¤ä°×¡¤À¤¤ÎÃæ¤È¤·¤Æ¤Ïɸ½àŪ¤«¤ä¤äÆñ¡¤¤È¤¤¤Ã¤¿¤È¤³¤í¤Ç¤·¤ç¤¦¤«¡£
¤³¤ó¤Ê´¶¤¸¤Ç¡£

£³¤ÎÇÜ¿ô¤¬¥Ý¥¤¥ó¥È¤Ê¤Î¤Ç¡¤1 ¡Á 9 ¤ò 3 ¤Ç³ä¤Ã¤¿Í¾¤ê¤Ç£³¤Ä¤Î¥°¥ë¡¼¥×¤ËʬÎष¤Þ¤¹¡£¤¹¤ë¤È¡¤
(1) 3 ¤Ç³ä¤Ã¤Æ 1 ;¤ë¥°¥ë¡¼¥×¡§1¡¤4¡¤7
(2) 3 ¤Ç³ä¤Ã¤Æ 2 ;¤ë¥°¥ë¡¼¥×¡§2¡¤5¡¤8
(3) 3 ¤Ç³ä¤Ã¤Æ 0 ;¤ë¥°¥ë¡¼¥×¡§3¡¤6¡¤9
¤³¤ì¤ò»È¤¦¤È¡¤¤½¤ì¤¾¤ì¤Î¿Í¤Î¼è¤Ã¤¿¿ô¤ÎϤ¬£³¤ÎÇÜ¿ô¤Ë¤Ê¤ë¤Î¤Ï¼¡¤Î¾ì¹ç¤Ç¤¹¡£
¤½¤ì¤¾¤ì¤Î¿Í¤¬ (1) ¡Á (3) ¤Î¤¤¤º¤ì¤«£±¤Ä¤Ë°¤¹¤ë£³¤Ä¤Î¿ô¤¹¤Ù¤Æ¤ò¼è¤ë¾ì¹ç
Î㤨¤Ð¡¤¥Þ¥µ¥ë¤µ¤ó¤¬ 1¡¤4¡¤7¡¤¥È¥â¥¨¤µ¤ó¤¬ 2¡¤5¡¤8¡¤¥Þ¥µ¥Ò¥³¤¯¤ó¤¬ 3¡¤6¡¤9¡¤¤È¼è¤ë¾ì¹ç¤Ç¤¹¡£
¤³¤ì¤Ï¡¤¤É¤Î¥°¥ë¡¼¥×¤ò郎Áª¤Ö¤«¤Ç¡¤3 * 2 * 1 = 6 Ä̤ꡤ¤Ç¤¹¡£
¤½¤ì¤¾¤ì¤Î¿Í¤¬ (1) ¡Á (3) ¤Ë°¤¹¤ë¿ô¤ò£±¤Ä¤º¤Ä¼è¤ë¾ì¹ç
Î㤨¤Ð¡¤¥Þ¥µ¥ë¤µ¤ó¤¬ 1¡¤2¡¤3¡¤¥È¥â¥¨¤µ¤ó¤¬ 4¡¤5¡¤6¡¤¥Þ¥µ¥Ò¥³¤¯¤ó¤¬ 7¡¤8¡¤9¡¤¤È¼è¤ë¾ì¹ç¤Ç¤¹¡£
¤³¤ì¤Ï¡¤£±¤Ä¤Î¥°¥ë¡¼¥×¤Ë°¤¹¤ë¿ô¤ò郎Áª¤Ö¤«¤Ç 3 * 2 * 1 = 6 ÄÌ¤ê ¤º¤Ä¡¤£³¤Ä¤Î¥°¥ë¡¼¥×¤Ç 6 * 6 * 6 = 216 Ä̤ꡤ¤Ç¤¹¡£
¾¤Î²ÄǽÀ­¤Ï¤Ê¤¯°Ê¾å¤Ç¤¹¤Ù¤Æ¤Ê¤Î¤Ç¡¤µá¤á¤ë¾ì¹ç¤Î¿ô¤Ï¡¤6 + 216 = 222 Ä̤ꡤ¤Ë¤Ê¤ê¤Þ¤¹¡£
¥Í¥³¤Î½»¤à²È¡¡¡¡ 10·î29Æü¡ÊÌÚ¡Ë 11:25:58¡¡¡¡ MAIL:uchi@sco.bekkoame.ne.jp ¡¡¡¡43853
uchinyan
·Ç¼¨ÈĤòÆɤߤޤ·¤¿¡£

Ãí°Õ
°Ê²¼¤Îµ­½Ò¤Ï¡¤¤½¤â¤½¤â¤Ï»ä¼«¿È¤ÎÊÙ¶¯¤Î¥á¥â¤Ë²á¤®¤Ê¤¤¤Î¤Ç¤¹¤¬¡¤
À޳ѤʤΤǤ´»²¹Í¤Þ¤Ç¤Ë¤È»×¤Ã¤Æ¸ø³«¤¹¤ë¤â¤Î¤Ç¤¹¡£
¤½¤¦¤¤¤¦¤³¤È¤â¤¢¤Ã¤Æ¡¤²òË¡¤ÎʬÎà¤Ï»»¥Á¥ã¥ì¤Î F.A.Q. ¤Î¡Ö»»¿ô¤ÎÈϰϡפε­½Ò¤ò»²¹Í¤Ë¡¤
»ä¸Ä¿Í¤¬ÆÈÃǤÈÊи«¤Ç¼ç´ÑŪ¤Ë¹Ô¤Ã¤Æ¤¤¤ë¤â¤Î¤Ç¤¢¤Ã¤Æ¡¤µÒ´ÑŪ¤Ê¤â¤Î¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£
¤¢¤¯¤Þ¤Ç¤â¤´»²¹Í¤Ç¤¹¡£°­¤·¤«¤é¤º¡£

#43840¡¤#43842(¿ʬ)¡¤#43844¡¤#43845¡¤#43846¡¤#43847¡¤#43850¡¤#43851(¼ã´³È¯ÁÛ¤¬°ã¤¦¤«¤Ê)¡¤#43853
1 ¡Á 9 ¤ò 3 ¤Ç³ä¤Ã¤¿Í¾¤ê¤ÇʬÎष¤Æ¹Í¤¨¤ë²òË¡¡£

#43839¡¤#43848¡¤#43852
¥×¥í¥°¥é¥à¤Ë¤è¤ë²òË¡¡£

²¿¤«ÊѤï¤Ã¤¿ÌÌÇò¤¤²òË¡¤Ï¤Ê¤¤¤«¤Ê¡¤¤È»×¤Ã¤¿¤Î¤Ç¤¹¤¬¡¤·ë¶É¡¤»»¿ô²òË¡¤Ï³§¤µ¤ó¤È¤â¡¤
1 ¡Á 9 ¤ò 3 ¤Ç³ä¤Ã¤¿Í¾¤ê¤ÇʬÎष¤Æ¹Í¤¨¤ë²òË¡¡¤Ëô¤Ï¤½¤ì¤Î¥Þ¥¤¥Ê¡¼¤Ê¥Ð¥ê¥¨¡¼¥·¥ç¥ó¡¤
¤È¤¤¤¦¤³¤È¤Î¤è¤¦¤Ç¤¹¤Í¡£
¥Í¥³¤Î½»¤à²È¡¡¡¡ 10·î29Æü¡ÊÌÚ¡Ë 11:58:12¡¡¡¡ MAIL:uchi@sco.bekkoame.ne.jp ¡¡¡¡43854
¡Ö¿ô³Ø¡×¾®Î¹¹Ô
¥×¥í¥°¥é¥à¤Î»ÅÊý¤Ç·ë²Ì¤¬½Ð¤ë¤Þ¤Ç¤Ë³Ý¤«¤ë»þ´Ö¤¬¤º¤¤¤Ö¤ó°ã¤¦¤Î¤¬¤ª¤â¤·¤í¤«¤Ã¤¿¤Ç¤¹¡£
Small Basic ¤òÍøÍѤ·¤Æ¤ß¤Þ¤·¤¿¡£

¤Þ¤º¤Ï¡¢¤â¤Ã¤È¤â¿Í´Ö¤¬¹Í¤¨¤Ê¤¯¤Æ¤¤¤¤¥×¥í¥°¥é¥à¤Ç¤¹¡£
c=0
For i=1 To 9
For j=1 To 9
For k=1 to 9
For l=1 To 9
For m=1 To 9
For n=1 To 9
For o=1 To 9
For p=1 To 9
For q=1 To 9
If (i-j)*(i-k)*(j-k)*(i-l)*(j-l)*(k-l)*(i-m)*(j-m)*(k-m)*(l-m)*(i-n)*(j-n)*(k-n)*(l-n)*(m-n)*(i-o)*(j-o)*(k-o)*(l-o)*(m-o)*(n-o)*(i-p)*(j-p)*(k-p)*(l-p)*(m-p)*(n-p)*(o-p)*(i-q)*(j-q)*(k-q)*(l-q)*(m-q)*(n-q)*(o-q)*(p-q)<>0 And Math.Remainder((i+j+k) , 3)=0 And Math.Remainder((l+m+n) , 3)=0 And Math.Remainder((o+p+q) , 3)=0 Then
c = c+1
EndIf
EndFor
EndFor
EndFor
EndFor
EndFor
EndFor
EndFor
EndFor
EndFor
TextWindow.Writeline(c/6/6/6)
end:
¥×¥í¥°¥é¥à¤Ïñ½ã¤Ç¤ï¤«¤ê¤ä¤¹¤¤¤Î¤Ç¤¹¤¬¡¢Áö¤é¤»¤Æ¤ß¤ë¤È¡¢»ä¤Î£Ð£Ã¤Ç¡¢Ìó£±»þ´Ö³Ý¤«¤ê¤Þ¤·¤¿¡£

¼¡¤Ë¡¢ÅÓÃæ¤ËȽÃǤòÆþ¤ì¤Æ¡¢Å¬¤µ¤Ê¤¤¤â¤Î¤òÁá¤á¤Ë½ü³°¤·¤Æ¤¤¤¯¤è¤¦¤Ë¤·¤Þ¤·¤¿¡£
c=0
For i=1 To 9
For j=1 To 9
If i<j Then
For k=1 to 9
If j<k Then
For l=1 To 9
If (i-l)*(j-l)*(k-l)<>0 Then
For m=1 To 9
If (i-m)*(j-m)*(k-m)<>0 And l<m Then
For n=1 To 9
If (i-n)*(j-n)*(k-n)<>0 And m<n Then
For o=1 To 9
If (i-o)*(j-o)*(k-o)*(l-o)*(m-o)*(n-o)<>0 Then
For p=1 To 9
If (i-p)*(j-p)*(k-p)*(l-p)*(m-p)*(n-p)<>0 And o<p Then
For q=1 To 9
If (i-q)*(j-q)*(k-q)*(l-q)*(m-q)*(n-q)<>0 And p<q Then
If Math.Remainder((i+j+k) , 3)=0 Then
If Math.Remainder((l+m+n) , 3)=0 Then
If Math.Remainder((o+p+q) , 3)=0 Then
c = c+1
EndIf
EndIf
EndIf
EndIf
EndFor
EndIf
EndFor
EndIf
EndFor
EndIf
EndFor
EndIf
EndFor
EndIf
EndFor
EndIf
EndFor
EndIf
EndFor
EndFor
TextWindow.Writeline(c)
end:
¤¹¤ë¤È¡¢¤Ê¤ó¤È¡¢£²ÉäۤɤǷë²Ì¤¬½Ð¤Þ¤·¤¿¡£¡Ê¡÷¡÷¡Ë
¡¡¡¡ 10·î29Æü¡ÊÌÚ¡Ë 11:58:55¡¡¡¡ ¡¡¡¡43855
¤Æ¤¤
¤É¤³¤«¤ÎÆþ»îÌäÂê¤Ç²ò¤¤¤¿¤³¤È¤¬¤¢¤ë¤è¤¦¤Ê¡¦¡¦¡¦
¡¡¡¡ 10·î29Æü¡ÊÌÚ¡Ë 16:04:15¡¡¡¡ ¡¡¡¡43856
¥Þ¥µ¥ë
#43856¡Ê¤Æ¤¤¤µ¤ó¡Ë
¡¡¤Ï¤¤¡¢¼Â¤ÏË¿»Í¹ñ¤Î¹ñΩÂç³Ø¤ÎÆþ»îÌäÂê¤Î°ìÉô¤Ç¤¹¡£À¸Å̤Τä¤é¤»¤Æ¤ß¤¿¤È¤³¤í¡¢¤Û¤ÜËþÅÀ¤À¤Ã¤¿¤Î¤Ç¤¹¤¬¡¢¤³¤ÎÌäÂê¤À¤±¥À¥á¤À¤Ã¤¿¤Î¤Ç¡¢¡Ö°Õ³°¤ÈÆñ¤·¤¤¤Î¤«¤Ê¡©¡×¤È»×¤Ã¤Æ½ÐÂꤷ¤Æ¤ß¤¿¼¡Âè¤Ç¤¹¡£
MacbookPro¡¡¡¡ 10·î30Æü¡Ê¶â¡Ë 11:42:21¡¡¡¡ ¡¡¡¡43857
¤Ë¤ã¤â¡¼·¯
¼«Ê¬¤â£³¤Î¾ê;·Ï¤Ç¥«¡¼¥É¤òʬÎष¤Æ¡¢°ì¿Í¤Î¼ê»ý¤Á¥«¡¼¥É¤¬£³¤ÎÇÜ¿ô¤Ë¤Ê¤ë¥Ñ¥¿¡¼¥ó¤ò¹Í¤¨¤Æ¤ß¤Þ¤·¤¿¡£
üñ¡ËÁ´°÷¤¬¤½¤ì¤¾¤ì£³Ëç¤È¤âƱ¤¸¾ê;¤Î¥«¡¼¥É¤ò»ý¤Ä¡¡¡ÊÎ㡧£³¤È£¶¤È£¹¡¢£±¤È£´¤È£·Åù¡Ë
üò¡ËÁ´°÷¤È¤â¤Ë£³¼ïÎà¤Î¾ê;·Ï¤Î¥«¡¼¥É¤ò£±Ë示¤Ä»ý¤Ä¡ÊÎ㡧£±¤È£²¤È£³¡¢£´¤È£²¤È£¹Åù¡Ë
¤½¤ì°Ê³°¤Ë¤â¥Ñ¥¿¡¼¥ó¤¬¤¢¤ê¤½¤¦¤À¤Ê¤È»×¤Ã¤¿¤ó¤À¤±¤É¡£

º£²ó¤ÎÅú¤¨¤Î222¤Ã¤Æ¡¡2·î22Æü¤Î¥Í¥³¤ÎÆü¡Ê¥Ë¥ã¥ó¥Ë¥ã¥ó¥Ë¥ã¥ó¡Ë¤òÁÛµ¯¤¹¤ë¡£
¡¡¡¡ 11·î3Æü¡Ê²Ð¡Ë 20:10:02¡¡¡¡ ¡¡¡¡43858
¥Ï¥é¥®¥ã¡¼¥Æ¥¤
C¸À¸ì¤ÇÁȤߤޤ·¤¿¡£·×»»»þ´Ö¤Ï¬¤ì¤Ê¤¤¤Û¤É°ì½Ö¤Ç¤·¤¿¡£
¤´»²¹Í¤Ë¥×¥í¥°¥é¥à¤ò·ÇºÜ¤·¤Þ¤¹¡£

#include <iostream>
#include <algorithm>
#include <stdio.h>
#include <math.h>
using namespace std;

int main(void)
{
int s,s1,s2,s3;
int x[] = {1, 2, 3, 4, 5, 6, 7, 8, 9};
int nx = sizeof(x) / sizeof(x[0]);

s=0;
while (next_permutation(x, x + nx)){
s1=x[1]+x[2]+x[3];
s2=x[4]+x[5]+x[6];
s3=x[7]+x[8]+x[9];
if (s1 %3 ==0 && s2 %3==0 && s3 %3==0) s=s+1;
}
s=s/72;
printf("%d",s);

return (0);
}
»³¸ý¡¡¡¡ 11·î4Æü¡Ê¿å¡Ë 11:24:21¡¡¡¡ HomePage:À©¸æ¹©³Ø¤Ë¥Á¥ã¥ì¥ó¥¸¡¡¡¡43859