µÈÀî¡¡¥Þ¥µ¥ë
´°Á´¤Ê¤ë¥Ñ¥¯¥ê¤Ê¤Î¤Ç¤¹¤¬¡¢²ò¤±¤¿¾®³ØÀ¸¤¬¡¢¡Ö²¶¡¢¤¹¤´¤¤¤«¤â¡×¤È»×¤Ã¤Æ¤¯¤ì¤ì¤Ð¤È¤¤¤¦¤³¤È¤Ç...
MBP¡¡¡¡ 2·î27Æü¡ÊÌÚ¡Ë 0:13:43¡¡¡¡ HomePage:»»¥Á¥ã¥ì¡¡¡¡48798
µÈÀî¡¡¥Þ¥µ¥ë
ʸ»ú²½¤±ÌäÂê¡¢¶âÍËÆü¤ËÂн褷¤Þ¤¹¡£¡ÊÌÀÆü¤Ï¤Þ¤À¡¢¸å´ü°å³ØÉô¤ÎľÀþÂкö¤¬¤¢¤ê¤Þ¤·¤Æ...m(__)m¡Ë
MBP¡¡¡¡ 2·î27Æü¡ÊÌÚ¡Ë 0:15:06¡¡¡¡ HomePage:»»¥Á¥ã¥ì¡¡¡¡48799
¥Ù¥ë¥¯¡¦¥«¥Ã¥Ä¥§
P¤¬³ÑACB¤ÎÆ⦤ˤ¢¤ë¤È¤­¡¢»Í³Ñ·ÁAPBC¤ÎÌÌÀѤ¬1.5°Ê¾å2°Ê²¼¤Ê¤Î¤Ç¡¢ÄìÊÕ¤òAB¤È¤·¤¿¤È¤­¤Î»°³Ñ·ÁPAB¤Î¹â¤µ¤¬»°³Ñ·ÁCAB¤Î0.5Çܤ«¤é1ÇܤˤʤëÈϰϤǡ¢2¡ß2-1.5¡ß1.5¡á1.75¤Ë¤Ê¤ê¤Þ¤¹¡£
P¤¬³ÑACB¤ÎÂÐĺ³Ñ¤ÎÆ⦤ˤ¢¤ë¤È¤­¡¢ÄìÊÕ¤òAB¤È¤·¤¿¤È¤­¤Î»°³Ñ·ÁPAB¤Î¹â¤µ¤¬»°³Ñ·ÁCAB¤Î¹â¤µ¤Î1.5Çܤ«¤é2Çܤˤʤì¤Ð¤¤¤¤¤Î¤Ç¡¢ÈϰϤÏ1¡ß1-0.5¡ß0.5¡á0.75¤Ë¤Ê¤ê¤Þ¤¹¡£
¤½¤ì¤¾¤ì3Êý¸þ¤ËƱÍͤοޤ¬¤Ç¤­¤ë¤Î¤Ç¡Ê1.75+0.75¡Ë¡ß3¡á7.5¤Ë¤Ê¤ê¤Þ¤·¤¿¡£
¡¡¡¡ 2·î27Æü¡ÊÌÚ¡Ë 0:16:49¡¡¡¡ ¡¡¡¡48800
ÎÌ»ÒÏÀ
½é¤Î¥Ù¥¹¥È£±£°Æþ¤ê¤¬¡¢Ì¾Á°¤ÎÆþÎϥߥ¹¡£
¤³¤ì¤âµ­Ç°¤È¤·¤Þ¤¹¡£

³ÆÊÕ¤ò¿­¤Ð¤·¡¢¤µ¤é¤Ë³ÆÊÕ¤ÎÊ¿¹ÔÀþ¤ò¤Ò¤¤¤Æ
£¶³Ñ·Á¤Ë¤·¤Þ¤·¤¿¡£ÌÌÀѤò£²cm2¤«¤é£³cm2¤ÎÈϰϤË
¹Ê¤ë¤Ë¤ÏÁê»÷¤ò»È¤¤¤Þ¤·¤¿¡£
¡¡¡¡ 2·î27Æü¡ÊÌÚ¡Ë 0:29:31¡¡¡¡ ¡¡¡¡48801
¸Â³¦bot
½é½ñ¤­¹þ¤ß¤Ç¤¹¡£
¤â¤·¤«¤·¤Æ¡¢º£Ç¯¤ÎÅìÂçÍý·Ï¿ô³ØÂè2Ìä¤ÈƱ¤¸ÌäÂê¤Ç¤¹¤«¡©
¡¡¡¡ 2·î27Æü¡ÊÌÚ¡Ë 0:45:03¡¡¡¡ ¡¡¡¡48802
º£Ç¯¤«¤é¹âÎð¼Ô
ÌäÂê¤ò¤è¤¯Æɤޤº¡¢¿Þ¤ò¤ß¤Æ¡¢»°³Ñ·Á£²¤Ä¤ÎϤǷ׻»¤·¤Æ¤¤¤¿¡£
¡¡¡¡ 2·î27Æü¡ÊÌÚ¡Ë 0:45:23¡¡¡¡ ¡¡¡¡48803
¸Â³¦bot
½é½ñ¤­¹þ¤ß¤Ç¤¹¡£
¤â¤·¤«¤·¤Æ¡¢º£Ç¯¤ÎÅìÂçÍý·Ï¿ô³ØÂè2Ìä¤ÈƱ¤¸ÌäÂê¤Ç¤¹¤«¡©
¡¡¡¡ 2·î27Æü¡ÊÌÚ¡Ë 0:47:23¡¡¡¡ ¡¡¡¡48804
»ç¤Îé¬é¯¤Î¿Í
Ê¿Ì̤òľÀþAB¡¢BC¡¢CA¤Ç¶èÀÚ¤é¤ì¤ë£·¤Ä¤ÎÎΰè¤Ëʬ¤±¡¢P¤¬³ÆÎΰè¤òÆ°¤¯¤È¤­¡¢
¤¤¤Ä¾ò·ï¤òËþ¤¿¤¹¤«¤ò¹Í¤¨¤Þ¤¹¡£

¤Þ¤º¡¢£Ð¤ò¢¤ABC¤ÎÆâÉô¤Ë¼è¤ë¤È¡¢ÌÌÀÑϤϣ±¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤¦¤Î¤Ç³ºÅö¤·¤Þ¤»¤ó¡£

¼¡¤Ë¡¢P¤òCA¤òA¤Î³°¤Ë±äŤ·¤¿Ä¾Àþ¾å¤Ë¤È¤ë¤È¡¢¾ò·ï¤òËþ¤¿¤¹¤Î¤Ï¡¢
±äĹÉý¤¬CA¤Î1/2ÇܤÎÅÀQ¤«¤é1ÇܤÎÅÀD¤ÎÈÏ°Ï(ÀþʬQD)¤Èʬ¤«¤ê¤Þ¤¹¡£

¼¡¤Ë¡¢P¤òQD¾å¤Ë¤È¤ê¡¢AB¤ËÊ¿¹Ô¤Ë°ÜÆ°¤µ¤»¤Æ¤â¡¢ÌÌÀÑϤÏÊѤï¤ê¤Þ¤»¤ó¡£
¼¡¤Ë¡¢P¤òQD¾å¤Ë¤È¤ê¡¢BC¤ËÊ¿¹Ô¤Ë°ÜÆ°¤µ¤»¤Æ¤â¡¢ÌÌÀÑϤÏÊѤï¤ê¤Þ¤»¤ó¡£

¤³¤Î¤³¤È¤«¤é¡¢

CA¤òA¤Î³°¤ËCA¤Î1/2ÇܤÀ¤±±äŤ·¤¿ÅÀ¤òQ¡¢CA¤Î1ÇܤÀ¤±±äŤ·¤¿ÅÀ¤òD
CB¤òB¤Î³°¤ËCB¤Î1/2ÇܤÀ¤±±äŤ·¤¿ÅÀ¤òR¡¢CB¤Î1ÇܤÀ¤±±äŤ·¤¿ÅÀ¤òE
AB¤òB¤Î³°¤ËAB¤Î1/2ÇܤÀ¤±±äŤ·¤¿ÅÀ¤òS¡¢AB¤Î1ÇܤÀ¤±±äŤ·¤¿ÅÀ¤òF
AC¤òC¤Î³°¤ËAC¤Î1/2ÇܤÀ¤±±äŤ·¤¿ÅÀ¤òT¡¢AC¤Î1ÇܤÀ¤±±äŤ·¤¿ÅÀ¤òG
BC¤òC¤Î³°¤ËBC¤Î1/2ÇܤÀ¤±±äŤ·¤¿ÅÀ¤òU¡¢BC¤Î1ÇܤÀ¤±±äŤ·¤¿ÅÀ¤òH
BA¤òA¤Î³°¤ËBA¤Î1/2ÇܤÀ¤±±äŤ·¤¿ÅÀ¤òV¡¢BA¤Î1ÇܤÀ¤±±äŤ·¤¿ÅÀ¤òI

¤È¤¹¤ë¤È¡¢³ÆÊÕ¤¬¢¤ABC¤ÎÊÕ¤ÈÊ¿¹Ô¤Ê£²¤Ä¤Î£¶³Ñ·ÁQRSTUV¤È¡¢
DEFGHI¤Ë¶´¤Þ¤ì¤¿Îΰ褬µá¤á¤ëÎΰè¤Ë¤Ê¤ê¤Þ¤¹¡£
(4-9/4)*3+(1-1/4)*3¡á15/2
¡¡¡¡ 2·î27Æü¡ÊÌÚ¡Ë 0:51:27¡¡¡¡ ¡¡¡¡48805
ÎÌ»ÒÏÀ
¤¦¤ï¡¼¡ª¡¡¤Û¤ó¤È¡¢Æ±¤¸¤Ç¤¹¤ï¡£¸Â³¦bot¤µ¤ó
¤³¤ì¤òº£Æü¡¢¤³¤³¤Ç½ÐÂꤹ¤ë¥Þ¥µ¥ë¤µ¤ó¡¢´¶Éþ¤·¤Þ¤·¤¿¡£
¡¡¡¡ 2·î27Æü¡ÊÌÚ¡Ë 0:55:31¡¡¡¡ ¡¡¡¡48806
»ç¤Îé¬é¯¤Î¿Í
#48805

>¼¡¤Ë¡¢P¤òQD¾å¤Ë¤È¤ê¡¢AB¤ËÊ¿¹Ô¤Ë°ÜÆ°¤µ¤»¤Æ¤â¡¢ÌÌÀÑϤÏÊѤï¤ê¤Þ¤»¤ó¡£
>¼¡¤Ë¡¢P¤òQD¾å¤Ë¤È¤ê¡¢BC¤ËÊ¿¹Ô¤Ë°ÜÆ°¤µ¤»¤Æ¤â¡¢ÌÌÀÑϤÏÊѤï¤ê¤Þ¤»¤ó¡£

ľÀþ¤Ç¶èÀÚ¤é¤ì¤¿ÎΰèÆâ¤ÇÆ°¤«¤·¤¿¾ì¹ç

¡¡¡¡ 2·î27Æü¡ÊÌÚ¡Ë 0:59:32¡¡¡¡ ¡¡¡¡48807
¥Ù¥ë¥¯¡¦¥«¥Ã¥Ä¥§
ÅìÂç¤ÎÌäÂ긫¤Æ¤­¤Þ¤·¤¿¡£¤Þ¤Ã¤¿¤¯Æ±¤¸¤Ç¤¹¤Í¡£

¤µ¤Ã¤­½ñ¤­Ëº¤ì¤Æ¤Þ¤·¤¿¤¬¡¢¡¦¥ë¡¦¢®¥Ã¡£ ¤µ¤ó¤¬»ä¤Ç¤¹¡£
¡¡¡¡ 2·î27Æü¡ÊÌÚ¡Ë 1:09:20¡¡¡¡ ¡¡¡¡48808
¤Ë¤ã¤â¡¼·¯
¤È¤ê¤¢¤¨¤º°Å»»¤Ç²ò¤±¤Æ°Â¿´¡£
¤Ç¤â¿Þ¤òÉÁ¤«¤Ê¤¤¤Çʸ¤Ç²ò¤­Êý¤òÉÁ¤¯¤Î¤ÏÌÌÅÝ¡£

£Á£Â¤È£Â£Ã¤È£Á£Ã¤ò±äŤ·¤Æ¢¤£Á£Â£Ã¤Î³°Â¦¤ò£¶¤Ä¤ÎÎΰè¤Ëʬ¤±¤¿¡£
£¶¤Ä¤ÎÎΰè¤Ï¡¢°Ê²¼¤Î­¡¤«­¢¤Ëʬ¤±¤é¤ì¡¢ÅÀ£Ð¤¬¤É¤Á¤é¤ËÆþ¤ë¤«¤ò¹Í¤¨¤ë¡£
­¡Àþʬ£Ð£Ã¤¬Àþʬ£Á£Â¡¦Àþʬ£Ð£Â¤¬Àþʬ£Á£Ã¡¦Àþʬ£Ð£Á¤¬Àþʬ£Â£Ã¤È¸ò¤ï¤ë¾ì¹ç¡ÊÛ£Ëæ¤Ê¸À¤¤Êý¤ò¤¹¤ë¤È¡¢£Ð¤È£Ã¤¬Àþʬ£Á£Â¤ÎÂдߤˤ¢¤ë¡¢¤ß¤¿¤¤¤Ê¡Ë

­¢¡¡­¡¤ÎÎΰè°Ê³°

­¡¤Î¾ì¹ç¡¢ÌÌÀѤϡ¡7/4¡ß£³¡á21/4
­¢¤Î¾ì¹ç¡¡ÌÌÀѤϡ¡3/4¡ß£³¡á9/4
¤¢¤ï¤»¤Æ¡¡15/2
±ºÏ¡¡¡¡ 2·î27Æü¡ÊÌÚ¡Ë 1:10:37¡¡¡¡ HomePage:¥¢¥Ë¥á¥Í¥¿¤ÇÆþ»îÌäÂê¤òºî¤Ã¤ÆÊüÃÖÃæ¤Î¥Ú¡¼¥¸¡¡¡¡48809
»ç¤Îé¬é¯¤Î¿Í
¥µî¦¥Ûò®ò±¡¢¥Û¥½¥Ø ¤µ¤ó¤¬»ä¤Ç¤¹¡£

º£¤ÎÅìÂç¤Ï½éÅù´ö²¿½Ð¤ë¤ó¤Ç¤¹¤Í¡£
¡¡¡¡ 2·î27Æü¡ÊÌÚ¡Ë 1:20:09¡¡¡¡ ¡¡¡¡48810
µÈÀî¡¡¥Þ¥µ¥ë
¤Ï¤¤¡¢º£Ç¯¤ÎÅìÂç¡Ê¤·¤«¤âÍý·Ï¡ª¡Ë¤Ç¤¹¡£»×¤ï¤º¡Ö¤¢¤ì¡¢Ê¸·Ï¤Î¤Û¤¦¤ò°õºþ¤·¤Á¤ã¤Ã¤¿¤«¤Ê¡×¤È¤«»×¤Ã¤Æ¤·¤Þ¤¤¤Þ¤·¤¿¡£1.¤âʸ·ÏÈϰϤDzò¤±¤ëÌäÂê¤À¤Ã¤¿¤Î¤Ç...¡£

¤³¤ì¤ò½ÐÂꤷ¤¿¤Î¤Ï¤¿¤À¤Î¼êÈ´¤­¤Ç¤¹¤¬¡¢¾®³ØÀ¸¤Ë¤ä¤Ã¤Æ¤ß¤Æ¤â¤é¤¦¤Î¤âÎɤ¤¤«¤Ê¡¼¤È»×¤Ã¤¿¤Î¤â»ö¼Â¤Ç¡£
MBP¡¡¡¡ 2·î27Æü¡ÊÌÚ¡Ë 1:43:31¡¡¡¡ HomePage:»»¥Á¥ã¥ì¡¡¡¡48811
¡Ö¿ô³Ø¡×¾®Î¹¹Ô
¤°¤ë¤ê¤ó¤È²ó¤ë¤Î¤ò¼ºÇ°¤·¤Æ¤·¤Þ¤Ã¤Æ¤¤¤Þ¤·¤¿¡£
¡¡¡¡ 2·î27Æü¡ÊÌÚ¡Ë 7:42:39¡¡¡¡ ¡¡¡¡48812
CRYING DOLPHIN
»°³Ñ³Ê»Ò¤ò½ñ¤¤¤Æ¹Í¤¨¤Þ¤·¤¿¡£¤³¤ì¤À¤ÈÅùÀÑÊÑ·Á¤ÎÍͻҤ¬¸«¤ä¤¹¤«¤Ã¤¿¤Ç¤¹¡£
ttp://http://cdcdcd.sansu.org/pika/junkfoods/san1-q1125-2kara3ryoiki.png
(hÈ´¤­É½µ­¤Ï¤â¤Ï¤ä¥¤¥ó¥¿¡¼¥Í¥Ã¥ÈÏ·¿Í²ñ¤ÎÈÏáƤ«¡©)

¤³¤ìº£Ç¯¤ÎÅìÂç¤ÎÌäÂê¤Ê¤ó¤Ç¤¹¤Í¡ª
ËãÉÛ¤«ÆçÂè2Æü¤ÎÌäÂê¤È¤·¤Æ¤âÄÌÍѤ·¤½¤¦¤Ç¤¹¡£
´é¾å¤²¤¿Æ»¤ÎÀè¡¡¡¡ 2·î27Æü¡ÊÌÚ¡Ë 8:32:50¡¡¡¡ MAIL:¤Ô¤«¡¼ HomePage:¤Ô¤«¤Ô¤«¤µ¤ó¤¹¤¦¡£¡¡¡¡48813
¤»¤¤¤Á¤ã¤ó¤À¤è~~¤ó
¤³¤ì¤Ã¤ÆËÜÈ֤Ǥϳھ¡ÌäÂê¤À¤Ã¤¿¤Î¤À¤í¤¦¤«?
º£¤Ç¤Ï½éÅù´ö²¿¤Ã¤ÆÂç³ØÆþ»î¥ì¥Ù¥ë¤Ê¤Î¤«¤Í
εÅÄÀî¤ÎÊդꡡ¡¡ 2·î27Æü¡ÊÌÚ¡Ë 10:27:19¡¡¡¡ ¡¡¡¡48814
baLLjugglermoka
ºÇ¶á»»¥Á¥ã¥ì¤ò»æ¤È¥Ú¥ó»È¤ï¤º°Å»»¤Ç¥Á¥ã¥ì¥ó¥¸¤·¤Æ¤¤¤Þ¤¹¤¬¡¢º£²ó¤Ï°Å»»¤Ç´Ö°ã¤¨¤Þ¤¯¤ê²¿¤È¤«°Å»»¤ÇÀµ²ò¤·¤Þ¤·¤¿¡£¤¨¡¢ÅìÂçÍý·Ï¤ÎÌäÂê¤Ç¤·¤¿¤«^^;¤Ç¤â¥Õ¥Ä¡¼¤Ë»»¿ô¤Ç²ò¤±¤ëÌäÂê¤Ç¤·¤¿¤Í¡£
¡¡¡¡ 2·î27Æü¡ÊÌÚ¡Ë 16:15:09¡¡¡¡ ¡¡¡¡48815
¥¹¥â¡¼¥¯¥Þ¥ó
¤ß¤Ê¤µ¤ó¤ÈƱ¤¸¤Ç¤·¤¿ ^^

¢¤¤ÎÊդ˴ؤ·¤Æ...2^2-1.5^2=3.5*0.5=1.75=7/4
¢¤¤ÎĺÅÀ¦¤Ë´Ø¤·¤Æ...1*(1-1/4)=3/4
so...
(7/4+3/4)*3=(10/4)*3=30/4=15/2=7.5

²ò¤±¤¿¤éµ¤»ý¤Á¤¤¤¤¤Ç¤¹¤Í¢ö
(¿Þ¤òÉÁ¤±¤¿¤é)
¡¡¡¡ 2·î27Æü¡ÊÌÚ¡Ë 16:59:00¡¡¡¡ ¡¡¡¡48816
Mr.¥À¥ó¥Ç¥£
¿Þ¤Ç¡Ö3¶ù¡©¡×¤ÎÉôʬ¤¬ÉÔÀµ³Î¤Ç¡¡²¿²ó¤«¸íÅú¤òÁ÷¿®¤·¤Æ¤ª¤ê¤Þ¤·¤¿¡£
¡Ê¤½¤ì¤Û¤ÉÆñ¤·¤¯¤Ê¤¤³ä¤Ë¤Ï¶ìÀ路¤Þ¤·¤¿¡Ë
¡¡¡¡ 2·î27Æü¡ÊÌÚ¡Ë 19:49:21¡¡¡¡ ¡¡¡¡48817
Mr.¥À¥ó¥Ç¥£
#48817
>¡Ö¿Þ¤Ç¡Ö3¶ù¡©¡×¤ÎÉôʬ¤¬ÉÔÀµ³Î¤Ç¡×
¤È¤¤¤¦¤Î¤Ï¡¢¤ï¤¿¤·¤¬ÉÁ¤¤¤¿Æ°¤¯ÈϰϤǤοޤǤΤ³¤È¤Ç¡¢ÌäÂê¤Ë¤¢¤ë¿Þ¤Ç¤Î¤³
¤È¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£
¡Ê¸í²ò¤ò¤¦¤ß¤½¤¦¤Ê¤Î¤Ç¡¡ÄûÀµ¤·¤è¤¦¤È¤·¤¿¤Î¤Ç¤¹¤¬¡¢ÄûÀµ¤¬¤Ç¤­¤Ê¤¤¤Î¤Ç¡¡»×¤Ã¤Æ¡ÖÃǤê¡×¤òÆþ¤ì¤Þ¤·¤¿¡Ë
¡¡¡¡ 2·î27Æü¡ÊÌÚ¡Ë 23:50:09¡¡¡¡ ¡¡¡¡48818
¥´¥ó¤È¤â
º£²ó¤ÎÌäÂê¤ÏÅìµþÂç³Ø¤ÎÆþ»îÌäÂꤽ¤Î¤â¤Î¤À¤Ã¤È¤Ï¶Ã¤­¤Ç¤·¤¿!!
µþÅÔÂç³Ø¤Î5ÈÖ¤ò½½¿ÊBasic ¤Ç¤ä¤Ã¤Æ¤ß¤Þ¤·¤¿!!

for a=1 to 4
for b=1 to 4
for c=1 to 4
for d=1 to 4
IF a*b*c*d<>24 or a+b+c+d<>10 then goto 130
for e=1 to 4
for f=1 to 4
for g=1 to 4
for h=1 to 4
IF e*f*g*h<>24 or e+f+g+h<>10 then goto 90
for i=1 to 4
for j=1 to 4
for k=1 to 4
for l=1 to 4
IF i*j*k*l<>24 or i+j+k+l<>10 then goto 50
for m=1 to 4
IF a*e*i*m<>24 or a+e+i+m<>10 then goto 40
for n=1 to 4
IF b*f*j*n<>24 or b+f+j+n<>10 then goto 30
for o=1 to 4
IF c*g*k*o<>24 or c+g+k+o<>10 then goto 20
for p=1 to 4
IF d*h*l*p<>24 or d+h+l+p<>10 then goto 10
IF m*n*o*p<>24 or m+n+o+p<>10 then goto 10
let s=s+1
10 next p
20 next o
30 next n
40 next m
50 next l
60 next k
70 next j
80 next i
90 next h
100 next g
110 next f
120 next e
130 next d
140 next c
150 next b
160 next a
print s
end

f9²¡¤·¤Æ¡¡576¡¦¡¦¡¦¡¦¡¦¡¦(Åú¤¨)

ÌäÂ긫¤Æ¥×¥í¥°¥é¥à¤ò½ñ¤¤¤Æ10ʬ¤ÇÅú¤¨¤¬¤Ç¤Þ¤·¤¿¤¬
¼ê¤Ç¤ä¤ë¤È¤â¤Ã¤È¥µ¥¤¥º¤ÎÂ礭¤¤¥é¥Æ¥óÊý¿Ø¤â¤Ç¤­¤ë¤Î¤«¤Ê-¡©

Ë­Àî»Ô¡¡¡¡ 2·î28Æü¡Ê¶â¡Ë 9:31:13¡¡¡¡ MAIL:fttnm528@ybb.ne.jp ¡¡¡¡48819
ʪÍý¹¥¤­
µ°Àפ«??¤È»×¤Ã¤¿¤éÅìÂçÆþ»î¡¢¤½¤¦¤¤¤¦»ö¤À¤Ã¤¿¤ó¤Ç¤¹¤Í¡Ä
½éÅù´ö²¿¡¢¤½¤ì¤âÁê»÷¤ÎÃ챤À¤±¤Ç²ò¤±¤Æ¤·¤Þ¤¦¤Î¡¢Èþ¤·¤¤
ÂçºåÉÜ¡¡¡¡ 2·î28Æü¡Ê¶â¡Ë 19:04:42¡¡¡¡ MAIL:butsuri.0523@gmail.com HomePage:Twitter¡¡¡¡48820
Ä̤ꤹ¤¬¤ê¤Î¹â°ì
ÅìÂçÍý·Ï¤Î2È֤Ǥ¹¤Í¡£
ºÇ½é¡¢ABCP¤¬Æ̻ͳѷÁ¤È¤Ê¤ë¾ì¹ç¤·¤«¹Íθ¤·¤Æ¤ª¤é¤º¡¢Ìµ¸Â¤ËÈϰϤ¬¹­¤¬¤ëµ¤¤¬¤·¤Æ¤¤¤Þ¤·¤¿¤¬¡¢²ò¤±¤ë¤ÈÈó¾ï¤Ë¥¹¥Ã¥­¥ê¤·¤Þ¤·¤¿¡£Îɤ¤ÌäÂê¤À¤È»×¤¤¤Þ¤¹¡£
¡¡¡¡ 3·î1Æü¡ÊÆü¡Ë 0:29:43¡¡¡¡ ¡¡¡¡48821
Ä̤ꤹ¤¬¤ê¤Î¹â°ì
Æç¤Î2ÆüÌܤ˽ФƤ­¤½¤¦¤À¤È¤¤¤¦°Õ¸«¡¢¤È¤Æ¤â¤ï¤«¤ê¤Þ¤¹¡£
¡¡¡¡ 3·î1Æü¡ÊÆü¡Ë 0:33:39¡¡¡¡ ¡¡¡¡48822
ʪÍý¹¥¤­
#48819
C¸À¸ì¤Ë¤Æ¡¢ºÆµ¢¤òÍøÍѤ·¤Æ¡¢¤«¤Ä¡¢°ìÈÖ¾å¤Î¹Ô¤ò1 2 3 4 ... N¤Ë¸ÇÄꤷ¤Æ°ìÈÖº¸¤ÎÎó¤ò1 2 3 4 ... N¤Ë¤Ê¤ë¤è¤¦¤ËʤÙÂؤ¨¤ë¤³¤È¤ò²¾Äꤷ¤¿¤¦¤¨¤ÇºÇ¸å¤Ë (N! * (N-1)!) ¤ò³Ý¤±¤ë¤È¤¤¤¦Êý¿Ë¤Ç¼ÂÁõ¤¹¤ë¤È¡¢N=7¤Þ¤Ç¤Ï¼ê¸µ¤ÎPC¤Ç¤â½¼Ê¬¹â®(1ʬ̤Ëþ)¤Ëµá¤á¤é¤ì¤Þ¤·¤¿

#include<stdio.h>

long long factorial(long long x){
long long i,r=1;
for(i=x;i>=1;i--){
r*=i;
}
return r;
}

long long n;
long long res=0;
long long row[16][16]={0},column[16][16]={0};
long long latin_sq[16][16];

void rec(long long a,long long b){
if(b==n){a++;b=0;}
if(a==n){res++;return;}
long long i;
for(i=1;i<=n;i++){
if(a==0 && b!=(i-1)){continue;}
if(b==0 && a!=(i-1)){continue;}
if(row[a][i]==1 || column[b][i]==1){continue;}
row[a][i]=1;column[b][i]=1;
latin_sq[a][b]=i;
rec(a,b+1);
row[a][i]=0;column[b][i]=0;
}
}

int main(){
scanf("%lld",&n);
rec(0,0);
printf("%lld\n",res*factorial(n)*factorial(n-1));
}

¤½¤ì°Ê¾å¤ÏÁȤ߹ç¤ï¤»Çúȯ¤ÎÎã¤Ë»È¤ï¤ì¤ë¤¯¤é¤¤¤Ë¤ÏÃͤ¬ÈîÂç²½¤·¤Æ¤·¤Þ¤¤¤Þ¤¹¤Í¡Ä
https://oeis.org/A002860
https://en.wikipedia.org/wiki/Combinatorial_explosion
ÂçºåÉÜ¡¡¡¡ 3·î1Æü¡ÊÆü¡Ë 19:30:31¡¡¡¡ MAIL:butsuri.0523@gmail.com HomePage:Twitter¡¡¡¡48823
¤Ë¤ã¤â¡¼·¯
Âç³ØÆþ»î¤Ë¤Ï»»¿ô¤ß¤¿¤¤¤ÊÌäÂê¤â·ë¹½½Ð¤ë¤â¤ó¤Ç¤¹¤Í¡£

º£Ç¯¤Î°ì¶¶Âç³Ø¤ÎÆþ»î¤Ë¡¢»»¿ô¤ÎÈϰϤDzò¤±¤½¤¦¤ÊÌäÂ꤬¤¢¤ê¤Þ¤·¤¿¡£
ɽ¸½¤ò»»¿ô¤Ç½Ð¤»¤ë¤è¤¦¤Ëľ¤·¤Þ¤·¤¿¡£

¡¡£±£°¤ò£±£°²ó¤«¤±¤¿¿ô¡¢¤¹¤Ê¤ï¤Á£±£°£°£°£°£°£°£°£°£°£°¤ò
¡¡£²£°£²£°¤Ç³ä¤Ã¤¿Í¾¤ê¤Ï¡¡¡Ì­¡¡Í¤Ç¤¹¡£
¡¡¤Þ¤¿¡¢£±£°£°·å¤ÎÀµ¤ÎÀ°¿ô¤Ç¡¢³Æ°Ì¤ÎϤ¬£²¤È¤Ê¤ë¤â¤Î¤Î¤¦¤Á¡¢
¡¡£²£°£²£°¤Ç³ä¤êÀÚ¤ì¤ë¤â¤Î¤Î¸Ä¿ô¤Ï¡Ì­¢¡Í¤Ç¤¹¡£

¡Ê£²£°£²£°Ç¯Ãæ³Ø¼õ¸³¤ÏÂçÂνª¤ï¤ê¤Ê¤Î¤Ç¡¢¼ÂºÝ¤ÎÃæ³Ø¼õ¸³¤Ç½ÐÂê¤Ï̵¤¤¤Ç¤·¤ç¤¦¤±¤É¡Ä
¤¢¤È¡¢»»¿ô¤ÎÈϰϤǤ¢¤ì¤Ð¡¢¡ÖÀµ¤Î¡×¤ÏÉÔÍס©¡Ë
±ºÏ¡¡¡¡ 3·î2Æü¡Ê·î¡Ë 20:56:49¡¡¡¡ HomePage:¥¢¥Ë¥á¥Í¥¿¤ÇÆþ»îÌäÂê¤òºî¤Ã¤ÆÊüÃÖÃæ¤Î¥Ú¡¼¥¸¡¡¡¡48824
¥´¥ó¤È¤â
#48823
ʪÍý¹¥¤­ ¤µ¤ó¡¡¥ì¥¹¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£
ÁȤ߹ç¤ï¤»Çúȯ¤Îŵ·¿Îã¤Ç11*11¤Þ¤Ç¤°¤é¤¤¤Ç»ß¤Þ¤Ã¤Æ¤ë¤ó¤Ç¤¹¤Í¡£
7*7¤Ï¼«Ê¬¤Ç¤â¤ä¤Ã¤Æ¤ß¤Þ¤·¤¿!!
½½¿ÊBasic¤Ç ¥é¥Æ¥óÊý¿Ø¤ò

(001)(002)(003)(004)(005)(006)(007)
(002)(a01)(a02)(a03)(a04)(a05)(a06)
(003)(a07)(a08)(a09)(a10)(a11)(a12)
(004)(a13)(a14)(a15)(a16)(a17)(a18)
(005)(a19)(a20)(a21)(a22)(a23)(a24)
(006)(a25)(a26)(a27)(a28)(a29)(a30)
(007)(a31)(a32)(a33)(a34)(a35)(a36)

¤È¤·¤Æa1,a36¤Þ¤Ç¤ÎÄ̤ê¿ô¤òµá¤á7!*6!¤«¤±¤ë¤È
7^2¤Î¥é¥Æ¥óÊý¿Ø¤ÎÁí¿ô¤È¤Ê¤ë¡£

PRINT TIME$
for a1=1 to 7
if a1=2 then goto 360
for a2=1 to 7
if a2=a1 or a2=2 or a2=3 then goto 350
for a3=1 to 7
if a3=a1 or a3=a2 or a3=2 or a3=4 then goto 340
for a4=1 to 7
if a4=a1 or a4=a2 or a4=a3 or a4=2 or a4=5 then goto 330
for a5=1 to 7
if a5=a1 or a5=a2 or a5=a3 or a5=a4 or a5=2 or a5=6 then goto 320
for a6=1 to 6
if a6=2 then goto 310
if a6=a1 or a6=a2 or a6=a3 or a6=a4 or a6=a5 then goto 310
for a7=1 to 7
IF a7=a1 OR a7=3 OR a7=2 THEN GOTO 300
for a8=1 to 7
IF a8=a2 OR a8=a7 OR a8=3 THEN GOTO 290
for a9=1 to 7
IF a9=a3 OR a9=a7 OR a9=a8 OR a9=3 OR a9=4 THEN GOTO 280
for a10=1 to 7
IF a10=a4 OR a10=a7 OR a10=a8 OR a10=a9 OR a10=3 OR a10=5 THEN GOTO 270
for a11=1 to 7
IF a11=a5 OR a11=a7 OR a11=a8 OR a11=a9 OR a11=a10 OR a11=3 OR a11=6 THEN GOTO 260
for a12=1 to 6
IF a12=a6 OR a12=a7 OR a12=a8 OR a12=a9 OR a12=a10 OR a12=a11 OR a12=3 THEN GOTO 250
for a13=1 to 7
IF a13=a1 OR a13=a7 OR a13=4 OR a13=2 THEN GOTO 240
for a14=1 to 7
IF a14=a2 OR a14=a8 OR a14=a13 OR a14=4 OR a14=3 THEN GOTO 230
for a15=1 to 7
IF a15=a3 OR a15=a9 OR a15=a13 OR a15=a14 OR a15=4 THEN GOTO 220
for a16=1 to 7
IF a16=a4 OR a16=a10 OR a16=a13 OR a16=a14 OR a16=a15 OR a16=4 OR a16=5 THEN GOTO 210
for a17=1 to 7
IF a17=a5 OR a17=a11 OR a17=a13 OR a17=a14 OR a17=a15 OR a17=a16 OR a17=4 OR a17=6 THEN GOTO 200
for a18=1 to 6
IF a18=a6 OR a18=a12 OR a18=a13 OR a18=a14 OR a18=a15 OR a18=a16 OR a18=a17 OR a18=4 THEN GOTO 190
for a19=1 to 7
IF a19=a1 OR a19=a7 OR a19=a13 OR a19=5 OR a19=2 THEN GOTO 180
for a20=1 to 7
IF a20=a2 OR a20=a8 OR a20=a14 OR a20=a19 OR a20=5 OR a20=3 THEN GOTO 170
for a21=1 to 7
IF a21=a3 OR a21=a9 OR a21=a15 OR a21=a19 OR a21=a20 OR a21=5 OR a21=4 THEN GOTO 160
for a22=1 to 7
IF a22=a4 OR a22=a10 OR a22=a16 OR a22=a19 OR a22=a20 OR a22=a21 OR a22=5 THEN GOTO 150
for a23=1 to 7
IF a23=a5 OR a23=a11 OR a23=a17 OR a23=a19 OR a23=a20 OR a23=a21 OR a23=a22 OR a23=5 OR a23=6 THEN GOTO 140
for a24=1 to 6
IF a24=a6 OR a24=a12 OR a24=a18 OR a24=a19 OR a24=a20 OR a24=a21 OR a24=a22 OR a24=a23 OR a24=5 THEN GOTO 130
for a25=1 to 7
IF a25=a1 OR a25=a7 OR a25=a13 OR a25=a19 OR a25=6 OR a25=2 THEN GOTO 120
for a26=1 to 7
IF a26=a2 OR a26=a8 OR a26=a14 OR a26=a20 OR a26=a25 OR a26=6 OR a26=3 THEN GOTO 110
for a27=1 to 7
IF a27=a3 OR a27=a9 OR a27=a15 OR a27=a21 OR a27=a25 OR a27=a26 OR a27=6 OR a27=4 THEN GOTO 100
for a28=1 to 7
IF a28=a4 OR a28=a10 OR a28=a16 OR a28=a22 OR a28=a25 OR a28=a26 OR a28=a27 OR a28=6 OR a28=5 THEN GOTO 90
for a29=1 to 7
IF a29=a5 OR a29=a11 OR a29=a17 OR a29=a23 OR a29=a25 OR a29=a26 OR a29=a27 OR a29=a28 OR a29=6 THEN GOTO 80
for a30=1 to 5
IF a30=a6 OR a30=a12 OR a30=a18 OR a30=a24 OR a30=a25 OR a30=a26 OR a30=a27 OR a30=a28 OR a30=a29 THEN GOTO 70
for a31=1 to 6
IF a31=a1 OR a31=a7 OR a31=a13 OR a31=a19 OR a31=a25 OR a31=7 OR a31=2 THEN GOTO 60
for a32=1 to 6
IF a32=a2 OR a32=a8 OR a32=a14 OR a32=a20 OR a32=a26 OR a32=a31 OR a32=7 OR a32=3 THEN GOTO 50
for a33=1 to 6
IF a33=a3 OR a33=a9 OR a33=a15 OR a33=a21 OR a33=a27 OR a33=a31 OR a33=a32 OR a33=7 OR a33=4 THEN GOTO 40
for a34=1 to 6
IF a34=a4 OR a34=a10 OR a34=a16 OR a34=a22 OR a34=a28 OR a34=a31 OR a34=a32 OR a34=a33 OR a34=7 OR a34=5 THEN GOTO 30
for a35=1 to 6
IF a35=a5 OR a35=a11 OR a35=a17 OR a35=a23 OR a35=a29 OR a35=a31 OR a35=a32 OR a35=a33 OR a35=a34 OR a35=7 OR a35=6 THEN GOTO 20
for a36=1 to 6
IF a36=a6 OR a36=a12 OR a36=a18 OR a36=a24 OR a36=a30 OR a36=a31 OR a36=a32 OR a36=a33 OR a36=a34 OR a36=a35 THEN GOTO 10
let s=s+1
10 next a36
20 next a35
30 next a34
40 next a33
50 next a32
60 next a31
70 next a30
80 next a29
90 next a28
100 next a27
110 next a26
120 next a25
130 next a24
140 next a23
150 next a22
160 next a21
170 next a20
180 next a19
190 next a18
200 next a17
210 next a16
220 next a15
230 next a14
240 next a13
250 next a12
260 next a11
270 next a10
280 next a9
290 next a8
300 next a7
310 next a6
320 next a5
330 next a4
340 next a3
350 next a2
360 next a1
print s
PRINT TIME$
END

f9²¡¤·¤Æ
22:21:00
16942080
22:44:19

¤è¤ê¡¡16942080*7!*6!;
61479419904000¡¦¡¦¡¦¡¦¡¦¡¦(7*7¤Î¥é¥Æ¥óÊý¿Ø¤ÎÅú¤¨)

¼Â¹Ô»þ´Ö¤¬23ʬ19ÉäȤ¤¤¦¤Î¤â¡¦¡¦¡¦
2011ǯ¤Î½Õ¥â¥Ç¥ë¤ÎaspireÀ½5750G(À½ÉÊ̾)
¤Çcpu¤¬core i7¤ÎÂè2À¤Âå(sandy bridge)¤Ç¡¦¡¦¡¦
2003¤Î¥»¥ì¥í¥ó¤è¤êƱ¤¸¥×¥í¥°¥é¥à¤Ç2.5Çܤ¯¤é¤¤Â®¤«¤Ã¤¿¤ó¤Ç¤¹¤±¤É¡¦¡¦¡¦
C¸À¸ìÅù¤Î¥³¥ó¥Ñ¥¤¥ë¸À¸ì¤Ç¤ä¤êľ¤·¤¿¤¤¤È¤³¤í¤Ç¤¹¤Í¡£
Ë­Àî»Ô¡¡¡¡ 3·î2Æü¡Ê·î¡Ë 23:04:52¡¡¡¡ MAIL:fttnm528@ybb.ne.jp ¡¡¡¡48825
¤Ð¤Á´Ý
ÆçÃæ³Ø¤ÎÌäÂê¤ÎÊý¤¬¤è¤Ã¤Ý¤É¤Ô¤ê¤Ã¤È¤·¤Æ¤¤¤ë¡£
ͧã¤È¡ÖÆçÃæÆþ»îÌäÂê¤Î¤Ç¤­¤½¤³¤Ê¤¤¡×¤È¸À¤Ã¤Æ¤ä¤Ã¤¿
¡¡¡¡ 3·î4Æü¡Ê¿å¡Ë 21:20:45¡¡¡¡ ¡¡¡¡48826
¡Ö¿ô³Ø¡×¾®Î¹¹Ô
º£½µ¤Ï¤ªµÙ¤ß¤È¤¤¤¦¤³¤È¤Ç¤¹¤Î¤Ç¡¢ÏÃÂê¤Ë¤Ê¤Ã¤Æ¤¤¤ëµþÂç¤ÎÌäÂê¤Î¥×¥í¥°¥é¥à¤ò¹Í¤¨¤Æ¤ß¤Þ¤·¤¿¡£ÀèÆü¶µ¤¨¤Æ¤¤¤¿¤À¤¤¤¿£ò£õ£â£ù¤ò»È¤Ã¤Æ¤¤¤Þ¤¹¡£

£´¡ß£´¤Î¤È¤­¡¢¤³¤ì¤Ï¥¹¥¿¡¼¥È¤·¤Æ¤Û¤È¤ó¤É¤¹¤°¤Ë½Ð¤Æ¤­¤Þ¤·¤¿¡£
# »»¥Á¥ã¥ìÂè1125²ó¡¡µþÂçÌäÂêÊÔ
row=Array.new();col=Array.new()
1.upto(5){|i|row[i-1]=[0,0,0,0,0];col[i-1]=[0,0,0,0,0]}
#¡¡°ì¹ÔÌܤò£±¤«¤é£´¡¢°ìÎóÌܤ⣱¤«¤é£´¤Ë¤·¤Þ¤¹¡£
1.upto(4){|i|row[1][i]=1;row[i][i]=1;col[1][i]=1;col[i][i]=1}
#count¤ÏŬ¤¹¤ëÊý¿Ø¤Î¸Ä¿ô¤Ç¤¹¡£
count=0
# ³ÆÍ×ÁǤò£±¤«¤é£´¤Ë¤·¤Æ¡¢¤¹¤Ù¤Æ¤Î¾ì¹ç¤òÄ´¤Ù¤Þ¤¹¡£¤¿¤À¤·¡¢³Æ¹ÔÎó¤Ç´û¤Ë»È¤ï¤ì¤¿¿ô»ú¤Ï½ü³°¤·¤Þ¤¹¡£
1.upto(4){|a22|if row[2][a22]==0&&col[2][a22]==0 then row[2][a22]=1;col[2][a22]=1
1.upto(4){|a23|if row[2][a23]==0&&col[3][a23]==0 then row[2][a23]=1;col[3][a23]=1
1.upto(4){|a24|if row[2][a24]==0&&col[4][a24]==0 then row[2][a24]=1;col[4][a24]=1
1.upto(4){|a32|if row[3][a32]==0&&col[2][a32]==0 then row[3][a32]=1;col[2][a32]=1
1.upto(4){|a33|if row[3][a33]==0&&col[3][a33]==0 then row[3][a33]=1;col[3][a33]=1
1.upto(4){|a34|if row[3][a34]==0&&col[4][a34]==0 then row[3][a34]=1;col[4][a34]=1
1.upto(4){|a42|if row[4][a42]==0&&col[2][a42]==0 then row[4][a42]=1;col[2][a42]=1
1.upto(4){|a43|if row[4][a43]==0&&col[3][a43]==0 then row[4][a43]=1;col[3][a43]=1
1.upto(4){|a44|if row[4][a44]==0&&col[4][a44]==0 then count+=1
end}; row[4][a43]=0;col[3][a43]=0
end}; row[4][a42]=0;col[2][a42]=0
end}; row[3][a34]=0;col[4][a34]=0
end}; row[3][a33]=0;col[3][a33]=0
end}; row[3][a32]=0;col[2][a32]=0
end}; row[2][a24]=0;col[4][a24]=0
end}; row[2][a23]=0;col[3][a23]=0
end}; row[2][a22]=0;col[2][a22]=0
end}
# ºÇ¸å¤Ë£´¡ª¡ß£³¡ª¤ò³Ý¤±¤ÆÅú¤ò½Ð¤·¤Þ¤¹¡£
p count*4*3*2*3*2

¤Ç¡¢¼¡¤Ë£·¡ß£·¤ËÄ©Àï¤Ç¤¹¡£°Ê²¼¤Î¥×¥í¥°¥é¥à¤Ç¤¹¤¬¡¢µ¬Â§Åª¤Ê¤Î¤Ç(Ãæά)¤·¤Þ¤¹¡£
# »»¥Á¥ã¥ìÂè1125²ó¡¡µþÂçÌäÂêÊÔ £·¡ß£·¤Î¾ì¹ç
row=Array.new();col=Array.new()
1.upto(8){|i|row[i-1]=[0,0,0,0,0,0,0,0];col[i-1]=[0,0,0,0,0,0,0,0]}
#¡¡°ì¹ÔÌܤò£±¤«¤é£·¡¢°ìÎóÌܤ⣱¤«¤é£·¤Ë¤·¤Þ¤¹¡£
1.upto(7){|i|row[1][i]=1;row[i][i]=1;col[1][i]=1;col[i][i]=1}
#count¤ÏŬ¤¹¤ëÊý¿Ø¤Î¸Ä¿ô¤Ç¤¹¡£
count=0; p Time.now
# ³ÆÍ×ÁǤò£±¤«¤é£·¤Ë¤·¤Æ¡¢¤¹¤Ù¤Æ¤Î¾ì¹ç¤òÄ´¤Ù¤Þ¤¹¡£¤¿¤À¤·¡¢³Æ¹ÔÎó¤Ç´û¤Ë»È¤ï¤ì¤¿¿ô»ú¤Ï»È¤¤¤Þ¤»¤ó¡£
1.upto(7){|a22|if row[2][a22]==0&&col[2][a22]==0 then row[2][a22]=1;col[2][a22]=1
1.upto(7){|a23|if row[2][a23]==0&&col[3][a23]==0 then row[2][a23]=1;col[3][a23]=1
1.upto(7){|a24|if row[2][a24]==0&&col[4][a24]==0 then row[2][a24]=1;col[4][a24]=1
1.upto(7){|a25|if row[2][a25]==0&&col[5][a25]==0 then row[2][a25]=1;col[5][a25]=1
1.upto(7){|a26|if row[2][a26]==0&&col[6][a26]==0 then row[2][a26]=1;col[6][a26]=1
1.upto(7){|a27|if row[2][a27]==0&&col[7][a27]==0 then row[2][a27]=1;col[7][a27]=1
1.upto(7){|a32|if row[3][a32]==0&&col[2][a32]==0 then row[3][a32]=1;col[2][a32]=1
1.upto(7){|a33|if row[3][a33]==0&&col[3][a33]==0 then row[3][a33]=1;col[3][a33]=1
¡ÊÃæά¡Ë
1.upto(7){|a76|if row[7][a76]==0&&col[6][a76]==0 then row[7][a76]=1;col[6][a76]=1
1.upto(7){|a77|if row[7][a77]==0&&col[7][a77]==0 then count+=1
end}; row[7][a76]=0;col[6][a76]=0
¡ÊÃæά¡Ë
end}; row[2][a23]=0;col[3][a23]=0
end}; row[2][a22]=0;col[2][a22]=0
end}
# ºÇ¸å¤Ë£·¡ª¡ß£¶¡ª¤ò³Ý¤±¤ÆÅú¤ò½Ð¤·¤Þ¤¹¡£
p count*7*6*5*4*3*2*6*5*4*3*2
p Time.now

¤«¤«¤Ã¤¿»þ´Ö¤Ï£¹Ê¬£¹ÉäǤ·¤¿¡£Corei5-4200M_2.50GHz_RAM8.00G
lenovoL540¥Î¡¼¥È¥Ñ¥½¥³¥ó¤ò»È¤¤¤Þ¤·¤¿¡£

¥×¥í¥°¥é¥à¤ò½ñ¤¤¤Æ¤ß¤Æ¡¢ºÆµ¯¸Æ¤Ó½Ð¤·¤¬¤É¤ì¤À¤±ÊØÍø¤Ê¤â¤Î¤«¤è¤¯¤ï¤«¤ê¤Þ¤·¤¿¡£¡Ê¡°¡°¡Ë!!
¡¡¡¡ 3·î5Æü¡ÊÌÚ¡Ë 14:13:43¡¡¡¡ ¡¡¡¡48827
¤ª¤¹¤Þ¤ó
º£½µ¤Î½ÐÂ꤬¤Ê¤«¤Ã¤¿¤Î¤Ç¤ª¤«¤²¤Ç¡¢´Ö¤Ë¹ç¤¤¤Þ¤·¤¿(^^;
somewhere in the world¡¡¡¡ 3·î5Æü¡ÊÌÚ¡Ë 18:53:07¡¡¡¡ ¡¡¡¡48828
¡Ö¿ô³Ø¡×¾®Î¹¹Ô
ºÆµ¢´Ø¿ô¤ò»È¤Ã¤Æ¤ß¤Þ¤·¤¿¡£
¤³¤ÎÊý¤¬ÃÇÁ³Â®¤«¤Ã¤¿¤Ç¤¹¡£Á°²ó¤ÈƱ¤¸¥¹¥Ú¥Ã¥¯¤Ç¡¢£µÊ¬£³£°ÉäǤ·¤¿¡£

# »»¥Á¥ã¥ìÂè1125²ó¡¡µþÂçÌäÂêÊÔ 7¡ß7¤Î¾ì¹ç

$row=Array.new();$col=Array.new() #¥°¥í¡¼¥Ð¥ëÊÑ¿ô¤È¤·¤Þ¤¹¡£
1.upto(8){|i| $row[i-1]=[0,0,0,0,0,0,0,0];$col[i-1]=[0,0,0,0,0,0,0,0]} #1¹ÔÌܤòrow[1]¡¢1ÎóÌܤòcol[1]¤Çɽ¤ï¤¹¤¿¤á¤Ë8¡ß8¤È¤·¤Þ¤·¤¿¡£
1.upto(7){|i|$row[1][i]=1;$row[i][i]=1;$col[1][i]=1;$col[i][i]=1} #¡¡£±¹ÔÌܤò£±¤«¤é7¡¢£±ÎóÌܤ⣱¤«¤é7¤Ë¤·¤Þ¤¹¡£
$count=0; #$count¤¬µá¤á¤ëÊý¿Ø¤Î¸Ä¿ô¤Ç¤¹¡£

#ºÆµ¢´Ø¿ô¤ÎÄêµÁÉôʬ¤Ç¤¹¡£
#¡Ê£á¡¤£â¡ËÀ®Ê¬¤ò£±¤«¤é£·¤Þ¤ÇÊѲ½¤µ¤»¡¢¤½¤Î¿ô¤¬£á¹Ô¤ª¤è¤Ó£âÎó¤Ë¤¢¤ë¤«¤É¤¦¤«¤òȽÄꤷ¤Æ¡¢¤Ê¤±¤ì¤Ð¤½¤Î¿ô¤ò¡Ê£á¡¤£â¡ËÀ®Ê¬¤È¤·¡¢¼¡¤Î¹ÔÎóÀ®Ê¬¤Ë¿Ê¤ó¤ÇƱ¤¸¤è¤¦¤ËÆþ¤ì¤Æ¤æ¤¯´Ø¿ô¤òÄêµÁ¤·¤Þ¤¹¡£
#¡Ê£î¡¤£î¡ËÍ×ÁǤޤÇÆþ¤ì½ª¤ï¤ë¤³¤È¤¬¤Ç¤­¤¿¤é¥«¥¦¥ó¥È¤·¤Æ¤«¤é¡¢¤Þ¤¿¤Ò¤È¤ÄÁ°¤Î°ÌÃÖ¤ËÌá¤Ã¤Æ¼¡¤Î¿ô¡Ê£±¤«¤é£·¡Ë¤òÆþ¤ì¤ÆÄ´¤Ù¤Æ¹Ô¤¯¤³¤È¤Ë¤·¤Þ¤¹¡£
def seibunsirabe(a,b)
1.upto(7){|i|
if $row[a][i]==0&&$col[b][i]==0 then;if a==7&&b==7 then$count+=1 else
$row[a][i]=1;$col[b][i]=1;b==7 ? seibunsirabe(a+1,2):seibunsirabe(a,b+1) end
$row[a][i]=0;$col[b][i]=0 end }
end

seibunsirabe(2,2)¡¡#ºÆµ¢´Ø¿ô¤ò¼Â¹Ô¤·¤Þ¤¹¡£
p $count*7*6*5*4*3*2*6*5*4*3*2¡¡# ºÇ¸å¤Ë7¡ª¡ß6¡ª¤ò³Ý¤±¤ÆÅú¤ò½Ð¤·¤Þ¤¹¡£
¡¡¡¡ 3·î6Æü¡Ê¶â¡Ë 11:12:42¡¡¡¡ ¡¡¡¡48829
¡Ö¿ô³Ø¡×¾®Î¹¹Ô
ÆȤê¤ÇÍ·¤ó¤Ç¤¤¤Æ¤¹¤ß¤Þ¤»¤ó¡£¤³¤Îή¤ì¤Ç¡¢¥Ê¥ó¥×¥ì¡Ê¿ôÆȡˤβòË¡¥×¥í¥°¥é¥à¤âºî¤Ã¤Æ¤ß¤Þ¤·¤¿¡£

# ¥Ê¥ó¥Ð¡¼¥×¥ì¥¤¥¹¡¡²òË¡¥×¥í¥°¥é¥à

$con=Array.new()
#½é´ü¤ËÍ¿¤¨¤é¤ì¤¿¿ô¤òÆþ¤ì¤Þ¤¹¡£1¹Ô1ÎóÌܤÏ$con[1][1]¤Ç¤¹¡£
#(1,1)¤«¤é(9,9)¤Ë¥Ê¥ó¥×¥ì¤ÎÌäÂê¤òÆþÎϤ·¤Þ¤¹¡£

$con[0]=[0,0,0,0,0,0,0,0,0,0]
$con[1]=[0,0,0,0,2,0,0,0,0,0]
$con[2]=[0,0,0,0,8,0,9,5,4,7]
$con[3]=[0,0,0,1,0,6,0,8,0,0]
$con[4]=[0,3,0,0,0,0,0,0,0,5]
$con[5]=[0,8,0,9,1,0,0,0,0,0]
$con[6]=[0,0,0,6,0,0,0,0,7,0]
$con[7]=[0,0,0,0,0,5,0,3,0,8]
$con[8]=[0,6,2,0,4,0,0,0,0,0]
$con[9]=[0,0,0,0,0,0,0,9,0,0]
#--------------------------------------
$row=Array.new();$col=Array.new();$sol=Array.new();$blk=Array.new() #¥°¥í¡¼¥Ð¥ëÊÑ¿ô¤È¤·¤Þ¤¹¡£
$count=0;#$count¤¬µá¤á¤ëÊý¿Ø¤Î¸Ä¿ô¤Ç¤¹¡£
# a¹ÔbÎó¤Î¥Ö¥í¥Ã¥¯ÈÖ¹æ¡Ê£³¡ß£³¤Î¥Ö¥í¥Ã¥¯9¸Ä¤òº¸¾å¤«¤é±¦¡¦²¼¤Ø¤ÈÈÖ¹æ¤òÉÕ¤±¤Þ¤¹¡£¡Ë¤òÊÖ¤·¤Þ¤¹¡£
def blkid(a,b)
return (b-1)/3+1+3*((a-1)/3)
end
1.upto(10){|i| $row[i-1]=[0,0,0,0,0,0,0,0,0,0];$col[i-1]=[0,0,0,0,0,0,0,0,0,0];$sol[i-1]=[0,0,0,0,0,0,0,0,0,0];$blk[i-1]=[0,0,0,0,0,0,0,0,0,0]} #1¹ÔÌܤòrow[1]¡¢1ÎóÌܤòcol[1]¤Çɽ¤ï¤¹¤¿¤á¤Ë8¡ß8¤È¤·¤Þ¤·¤¿¡£
1.upto(9){|i|1.upto(9){|j| $row[i][$con[i][j]]=1;$col[j][$con[i][j]]=1;$blk[blkid(i,j)][$con[i][j]]=1}}#¡¡³Æ¹ÔÎó¥Ö¥í¥Ã¥¯¤Ç»È¤ï¤ì¤Æ¤¤¤ë¿ô»ú¤ò¥Á¥§¥Ã¥¯¤·¤Þ¤¹¡£
#---------------------------------------
#ºÆµ¢´Ø¿ô¤ÎÄêµÁÉôʬ¤Ç¤¹¡£
#¡Ê£á¡¤£â¡ËÀ®Ê¬¤ò£±¤«¤é£¹¤Þ¤ÇÊѲ½¤µ¤»¡¢¤½¤Î¿ô¤¬£á¹Ô¤ª¤è¤Ó£âÎó¤Ë¤¢¤ë¤«¤É¤¦¤«¤òȽÄꤷ¤Æ¡¢¤Ê¤±¤ì¤Ð¤½¤Î¿ô¤ò¡Ê£á¡¤£â¡ËÀ®Ê¬¤È¤·¡¢¼¡¤Î¹ÔÎóÀ®Ê¬¤Ë¿Ê¤ó¤ÇƱ¤¸¤è¤¦¤ËÆþ¤ì¤Æ¤æ¤¯´Ø¿ô¤òÄêµÁ¤·¤Þ¤¹¡£
#¡Ê£¹¡¤£¹¡ËÍ×ÁǤޤÇÆþ¤ì½ª¤ï¤ë¤³¤È¤¬¤Ç¤­¤¿¤é¥«¥¦¥ó¥È¤·¤Æ¤«¤é¡¢¤Þ¤¿¤Ò¤È¤ÄÁ°¤Î°ÌÃÖ¤ËÌá¤Ã¤Æ¼¡¤Î¿ô¡Ê£±¤«¤é£¹¡Ë¤òÆþ¤ì¤ÆÄ´¤Ù¤Æ¹Ô¤¯¤³¤È¤Ë¤·¤Þ¤¹¡£
def seibunsirabe(a,b)
if $con[a][b]==0 then 1.upto(9){|i|
if $row[a][i]==0&& $col[b][i]==0&& $blk[blkid(a,b)][i]==0 then $sol[a][b]=i
if a==9&&b==9 then $count+=1;1.upto(9){|j|p $sol[j]}
else $row[a][i]=1;$col[b][i]=1;$blk[blkid(a,b)][i]=1;b==9 ? seibunsirabe(a+1,1):seibunsirabe(a,b+1)
$row[a][i]=0;$col[b][i]=0;$blk[blkid(a,b)][i]=0 endend }
else $sol[a][b]=$con[a][b];if a==9&&b==9 then $count+=1;1.upto(9){|j|p $sol[j]}
else b==9 ? seibunsirabe(a+1,1):seibunsirabe(a,b+1) end end
end
seibunsirabe(1,1);p $count

¤³¤ì¤ò¥ë¥Ó¡¼¤Ç¼Â¹Ô¤¹¤ë¤È²ò¤¬£±¤Ä½Ð¤Þ¤¹¤¬¡¢Î㤨¤Ð¡¢£²¹Ô£¹Îó¤Î£·¤òÄê¤á¤Ê¤¤¤È¤­¤Ï²ò¤¬£¶£¶Ä̤ꤢ¤ë¤È¤«¤â½Ð¤Æ¤­¤Þ¤¹¡£
¤¿¤Ã¤×¤ê¤È³Ú¤·¤ó¤Ç¤·¤Þ¤¤¤Þ¤·¤¿¡£¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£
¡¡¡¡ 3·î9Æü¡Ê·î¡Ë 14:04:09¡¡¡¡ ¡¡¡¡48830