¥´¥ó¤È¤â |
½½¿ÊBasic ¤Ç
FOR a=1 TO 3 FOR b=1 TO 3 IF (a=1 AND b=2) OR (a=2 AND b=1) THEN GOTO 40 FOR c=1 TO 3 IF (b=1 AND c=2) OR (b=2 AND c=1) THEN GOTO 30 FOR d=1 TO 3 IF (c=1 AND d=2) OR (c=2 AND d=1) THEN GOTO 20 FOR e=1 TO 3 IF (d=1 AND e=2) OR (d=2 AND e=1) THEN GOTO 10 LET s=s+1 10 NEXT e 20 NEXT d 30 NEXT c 40 NEXT b 50 NEXT a PRINT s END f9²¡¤·¤Æ¡¡99¡¦¡¦¡¦¡¦¡¦¡¦(Åú¤¨) |
ËÀî»Ô¡¡¡¡
6·î24Æü¡ÊÌÚ¡Ë 0:08:07¡¡¡¡
MAIL:fttnm528@ybb.ne.jp ¡¡¡¡50597 |
»ç¤Îé¬é¯¤Î¿Í |
ºÇ½é¤¬£Ø¤Î¾ì¹ç¤Î¼ù·Á¿Þ¤òÉÁ¤¤¤Æ£²£¹
ºÇ½é¤¬£Ù¤Î¾ì¹ç¤Ï¡¢ÂоÎÀ¤«¤é£²£¹ ºÇ½é¤¬£Ú¤Î¾ì¹ç¤â¡¢ºÇ½é¤¬£Ø¤Î¾ì¹ç¤Î¼ù·Á¿Þ¤ÎÉôʬÌÚ¤ò»È¤¤¤Ê¤¬¤é¿ô¤¨¤Æ41 29+29+41¡á99 // |
¡¡¡¡
6·î24Æü¡ÊÌÚ¡Ë 0:11:51¡¡¡¡
¡¡¡¡50598 |
¥´¥ó¤È¤â |
#50597
¥³¡¼¥É¤ò½ñ¤¯¤Î¤Ë FOR a=1 TO 3 FOR b=1 TO 3 IF a*b=2 THEN GOTO 40 FOR c=1 TO 3 IF b*c=2 THEN GOTO 30 FOR d=1 TO 3 IF c*d=2 THEN GOTO 20 FOR e=1 TO 3 IF d*e=2 THEN GOTO 10 LET s=s+1 10 NEXT e 20 NEXT d 30 NEXT c 40 NEXT b 50 NEXT a PRINT s END f9²¡¤·¤Æ¡¡99¡¦¡¦¡¦¡¦¡¦¡¦(Åú¤¨) ¤ÎÊý¤¬Â®¤«¤Ã¤¿¤ó¤Ç¤¹¤¬¡¦¡¦¡¦ ÌäÂ긫¤ë¤Î¤â20ÉÃÄøÃ٤줿¤·¡¦¡¦¡¦ |
ËÀî»Ô¡¡¡¡
6·î24Æü¡ÊÌÚ¡Ë 0:14:15¡¡¡¡
MAIL:fttnm528@ybb.ne.jp ¡¡¡¡50599 |
¥Ù¥ë¥¯¡¦¥«¥Ã¥Ä¥§ |
X¤Î¸Ä¿ô¤Ç¾ì¹çʬ¤±¤·¤Æ¹Í¤¨¤Þ¤·¤¿¡£
0¸Ä¡¡32Ä̤ê 1¸Ä¡¡28Ä̤ê 2¸Ä¡¡21Ä̤ê 3¸Ä¡¡12Ä̤ê 4¸Ä¡¡5Ä̤ê 5¸Ä¡¡1ÄÌ¤ê ¹ç·×99Ä̤ê¤Ë¤Ê¤ê¤Þ¤·¤¿¡£ |
¡¡¡¡
6·î24Æü¡ÊÌÚ¡Ë 0:14:36¡¡¡¡
¡¡¡¡50600 |
J¥Þ¥Þ |
X¡¡£±¡¡£²¡¡£µ¡¡£±£²¡¡£²£¹
Y¡¡£±¡¡£²¡¡£µ¡¡£±£²¡¡£²£¹ Z¡¡£±¡¡£³¡¡£·¡¡£±£·¡¡£´£± 29¡Ü29¡Ü41¡á99ÄÌ¤ê ¼¡¤ÎX¤ÏÁ°¤ÎX¤ÈZ¤ÎÏ¡¢¼¡¤ÎY¤ÏÁ°¤ÎY¤ÈZ¤ÎÏ¡¢ ¼¡¤ÎZ¤ÏÁ°¤ÎX¤ÈY¤ÈZ¤ÎÏ¡¢¤Ç5ʸ»úÌܤιç·×¤ò½Ð¤·¤Þ¤·¤¿¡£ |
¡¡¡¡
6·î24Æü¡ÊÌÚ¡Ë 0:17:42¡¡¡¡
¡¡¡¡50601 |
»ç¤Îé¬é¯¤Î¿Í |
A(n+2)={X(n+1)+Z(n+1)}+{Y(n+1)+Z(n+1)}+A(n+1)
=2*A(n+1)+Z(n+1) =2*A(n+1)+A(n) A(n+2)=2*A(n+1)+A(n) A1=3 A2=7 A3=2*7+3=17 A4=2*17+7=41 A5=2*41+17=99 |
¡¡¡¡
6·î24Æü¡ÊÌÚ¡Ë 0:24:55¡¡¡¡
¡¡¡¡50602 |
¤ß¤«¤ó |
ºÇ¸å¤ËÉÕ¤±²Ã¤¨¤ëʸ»ú¤Ç¾ì¹çʬ¤±¡£¤¤¤Ä¤âÄ̤ê¤ËÁ²²½¼°¤Ã¤Ý¤¯
£îʸ»ú¤Î»þ¤Ë±¦Ã¼¤¬ ¡¦£Ø¤Ë¤Ê¤ë¢ª¡Ê£î¡Ý£±¡Ëʸ»ú¤Î»þ¤Ë±¦Ã¼¤¬£Ø¤«£Ú ¡¦£Ù¤Ë¤Ê¤ë¢ª¡Ê£î¡Ý£±¡Ëʸ»ú¤Î»þ¤Ë±¦Ã¼¤¬£Ù¤«£Ú ¡¦£Ú¤Ë¤Ê¤ë¢ª¡Ê£î¡Ý£±¡Ëʸ»ú¤Î»þ¤Î¾ì¹ç¤Î¿ô £î¡á£±¤Î»þ¤ÏºÇ¸å¤¬¤¬£Ø¡¦£Ù¡¦£Ú¤Î¤¤¤º¤ì¤â£±Ä̤ꡣ ºÇ¸å¤¬£Ø¡¡£°£±¡¡£°£²¡¡£°£µ¡¡£±£²¡¡£²£¹ ºÇ¸å¤¬£Ù¡¡£°£±¡¡£°£²¡¡£°£µ¡¡£±£²¡¡£²£¹ ºÇ¸å¤¬£Ú¡¡£°£±¡¡£°£³¡¡£°£·¡¡£±£·¡¡£´£± £î¡á£²°Ê¹ß¤Ï½ç¤Ë·×»»¤·¡¢£î¡á£µ¤Î»þ¤Ï£²£¹¡Ü£²£¹¡Ü£´£±¡á£¹£¹Ä̤ꡣ¡¡ »»¿ô¤Ã¤Ý¤¯²ò¤¯¤È¤Ê¤ë¤È¡¢£´Ê¸»ú¤¯¤é¤¤¤Ç¤Ê¤¤¤ÈÂçÊѤ½¤¦¡£ º£²ó¤ÎÌäÂê¤â¡Ö²òË¡¤òÃΤé¤Ê¤¤ã¤±¤Ã¤³¤¦¼ê´Ö¤¬¤«¤«¤ë¡×¤Î¤Ç¡¢ ½Î¤Ç¤ÏÀѶËŪ¤Ë°·¤Ã¤Æ¤¤¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¤Í¡£ |
¡¡¡¡
6·î24Æü¡ÊÌÚ¡Ë 0:24:59¡¡¡¡
¡¡¡¡50603 |
º£Ç¯¤«¤é¹âÎð¼Ô |
¼¡¤Î¤è¤¦¤Êɽ¤òºî¤Ã¤Æ¡¢
X¤Î¤¢¤È¤Ï¡¢Á°¤ÎX+Z¡¢Y¤Î¸å¤ÏÁ°¤ÎY+Z¡¢Z¤Î¸å¤ÏÁ°¤ÎX+Y+Z¤Ç¹ç·×¤·¤Æ¤æ¤¯¡£ ______1ÈÖÌÜ__2ÈÖÌÜ__3ÈÖÌÜ__4ÈÖÌÜ__5ÈÖÌÜ X_______1______2______5______12_____29 Y_______1______2______5______12_____29 Z_______1______3______7______17_____41 ¹ç·×¤Ç99 |
¡¡¡¡
6·î24Æü¡ÊÌÚ¡Ë 0:27:49¡¡¡¡
¡¡¡¡50604 |
¥¹¥â¡¼¥¯¥Þ¥ó |
xy¤¬¸½¤ì¤ë°ÌÃ֤Ǿì¹çʬ¤±...
ºÇ½é¤Ëxy¡¦¡¦¡¦3^3 2ÈÖÌܤËxy¡¦¡¦¡¦2*3^2 3¡¦¡¦¡¦5*3 4¡¦¡¦¡¦12 so... 3^5-2(12+15+18+27)=243-2*72=99 |
¡¡¡¡
6·î24Æü¡ÊÌÚ¡Ë 0:29:11¡¡¡¡
¡¡¡¡50605 |
¡Ö¿ô³Ø¡×¾®Î¹¹Ô |
£ú¤Î¸Ä¿ô¤Ç¾ì¹çʬ¤±¤·¤Æ¹Í¤¨¤Þ¤·¤¿¡£
¤·¤«¤·¡¢¤Þ¤¿£ú¤ò»È¤ï¤Ê¤¤¤È¤¤ò¼ºÇ°¤·¤Æ°ìȯÀµ²ò¤Ê¤é¤º£÷ |
¡¡¡¡
6·î24Æü¡ÊÌÚ¡Ë 6:48:58¡¡¡¡
¡¡¡¡50606 |
ÎÓÅÄ¿¿ÏÂ |
Á´ÂΤ¬²¿¼ïÎफ¤Ç¹Í¤¨¤Þ¤·¤¿¡£¾¯¤·»þ´Ö¤¬¤«¤«¤Ã¤¿¤Ç¤¹¡£ |
¡¡¡¡
6·î24Æü¡ÊÌÚ¡Ë 7:23:56¡¡¡¡
¡¡¡¡50607 |
ÎÓÅÄ¿¿ÏÂ |
Á´ÂΤ¬²¿¼ïÎफ¤Ç¹Í¤¨¤Þ¤·¤¿¡£¾¯¤·»þ´Ö¤¬¤«¤«¤Ã¤¿¤Ç¤¹¡£ |
¡¡¡¡
6·î24Æü¡ÊÌÚ¡Ë 7:24:04¡¡¡¡
¡¡¡¡50608 |
??? |
vbscript
dim a(5) a(0)=0'¸Ä¿ô call saiki(1,a) msgbox a(0) ' sub saiki(n,a()) a(n)=0 while a(n)<=2'X,Y,Z¤ò0,1,2¤Çɽ¤¹ if n=1 then dame=0 elseif a(n-1)+a(n)=1 then dame=1 else dame=0 end if if dame=0 then if n<5 then call saiki(n+1,a) else a(0)=a(0)+1 end if end if a(n)=a(n)+1 wend end sub |
¡¡¡¡
6·î24Æü¡ÊÌÚ¡Ë 9:47:21¡¡¡¡
¡¡¡¡50609 |
¼¡ÏºÄ¹ |
¥Ù¥ë¥¯¡¦¥«¥Ã¥Ä¥§¤µ¤óƱÍÍ¡¢£ø¤Î¸Ä¿ôʬ¤±¤Ç¹Í¤¨¤Þ¤·¤¿¡£
£°¸Ä¤Î»þ32¡¢1¸Ä¤Î»þ28¡£ ¤¢¤¢ÌÌÅݤ¯¤µ¤¤¡£3Çܤ·¤Æ1³äÁý¤·ÄøÅÙ¤«¤Ê¡© 99¸Ä¡¢°ìȯ¤ÇÅö¤¿¤Ã¤Æ¤·¤Þ¤Ã¤¿¡£ |
¡¡¡¡
6·î24Æü¡ÊÌÚ¡Ë 12:50:06¡¡¡¡
¡¡¡¡50610 |
¥É¥ê¥È¥ë |
#50601¡¢#50603¡¢#50604¤Î³§¤µ¤ó¤Î¤è¤¦¤Ë¡¢É½¤Ç²ò¤¤Þ¤·¤¿¡£
½Î¤ÇºÇ¶á(¤È¤¤¤¦¤Û¤É¤Ç¤â¤Ê¤¤¤¬)¤³¤Î²ò¤Êý¤ò½¬¤Ã¤¿¤Î¤Ç¡¢Á᤯µ¤¤Å¤¤Þ¤·¤¿¡£ |
¡¡¡¡
6·î24Æü¡ÊÌÚ¡Ë 14:55:20¡¡¡¡
¡¡¡¡50611 |
¥É¥ê¥È¥ë |
¤½¤¦¤¤¤¨¤Ð»»¥Á¥ã¥ì¤Î¾ì¹ç¤Î¿ô²ò¤±¤¿¤Îµ×¤·¤Ö¤ê¤«¤â¡Ä |
¡¡¡¡
6·î24Æü¡ÊÌÚ¡Ë 17:43:57¡¡¡¡
¡¡¡¡50612 |
¤Ð¤Á´Ý |
ñ½ã¤ÊÁ²²½¼°¤Ã¤Æ¿Í¤¤¤Ê¤¤¤Î¤«¤Ê¡£¥Û¥ó¥È¤«¤¤
¡Êɽ¤ò½ñ¤¯¤Î¤â¸¶ÍýŪ¤Ë¤ÏÁ²²½¼°¤Ê¤Î¤À¤¬¡Ë ¥µ¥¤¥´¤¬£ø¤«y¤Ë¤Ê¤ë£î¸Ä¤ÎʤÙÊý¤ÎÁí¿ô¤ò£á(n)¡¢ ¥µ¥¤¥´¤¬£ú¤Ë¤Ê¤ë£î¸Ä¤ÎʤÙÊý¤ò£â(n)¤È¤¹¤ë¤È a(1)=2¡¢b(1)=1 a(n+1)=a(n)+2b(n) b(n+1)=a(n)+b(n) ¤Ça(5)+b(5)¤òµá¤á¤ì¤Ð¤è¤¤ |
¡¡¡¡
6·î24Æü¡ÊÌÚ¡Ë 20:17:53¡¡¡¡
¡¡¡¡50613 |
¤Ë¤ã¤â¡¼·¯¡Ê¡ä¦Ø¡ã¡Ë¥Î¥· |
£Ø¢ª±¦¤Ï£Ù¤«£Ú
£Ù¢ª±¦¤Ï£Ø¤«£Ú £Ú¢ª±¦¤Ï£Ø¤«£Ù¤«£Ú £´ÎóÌܤǣآª£µÎóÌܤϣ²ÄÌ¤ê £´ÎóÌܤǣ٢ª£µÎóÌܤϣ²ÄÌ¤ê £´ÎóÌܤǣڢª£µÎóÌܤϣ³ÄÌ¤ê £³ÎóÌܤǣآª£´ÎóÌܤϣ٤«£Ú¤Ç¡¢ ¤½¤ì¤¾¤ì£µÎóÌܤϣ²Ä̤ꡢ£³Ä̤ê¤À¤«¤é¡¢£µÎóÌܤϣµÄÌ¤ê °Ê²¼Æ±¤¸Í×ÎΤǣ³ÎóÌܣ٤ȣڡ¡¡¢£²ÎóÌÜ¡¢£±ÎóÌÜ¤È µÕ»»¤·¤Æ¹Í¤¨¤Æ¤¤¤¤Þ¤·¤¿¡£ £Ø¤È£Ù¤ÎÂоÎÀ¤ò¹Íθ¤¹¤ì¤Ð £µÎóÄøÅ٤ʤ餹¤°¿ô¤¨¤é¤ì¤Þ¤¹¤Í¡£ £îÎó¤Ç¤¢¤ì¤Ð¡¢Á²²½¼°¤Ç¤·¤ç¤¦¤«¡£ ¡Ê¥ï¥¯¥Á¥óÀܼï·ô¤¬¸ÞÎØÁ°¤ËÆϤ¯¸«¹þ¤ß¤¬¤Ê¤¯Àä˾Ã桦¡¦¡¦¡Ë |
ºë¶Ì¸©¤µ¤¤¤¿¤Þ»Ô¡¡¡¡
6·î24Æü¡ÊÌÚ¡Ë 21:22:33¡¡¡¡
¡¡¡¡50614 |
¤Þ¤ë¥±¥ó |
Âè1168²ó¤ÎÌäÂê¤Ç¤â³èÌö¤·¤¿¡¢Hash¤ò»È¤Ã¤¿¥ï¥ó¥é¥¤¥Ê¡¼¡Êruby¤Ç¤¹¡Ë¡£
p Hash.new{|h,k|h[k]=k<2?[1,1,1]:[h[k-1][0]+h[k-1][2],h[k-1][1]+h[k-1][2],h[k-1].sum]}[5].sum ¤¦¤·¤í¤ÎÊý¤Î 5 ¤ò100¤È¤«¤ËÊѤ¨¤ì¤Ð¡¢Ä¹¤µ100¤Îʸ»úÎó¤Î¾ì¹ç¤Ï 228725309250740208744750893347264645481Ä̤ꡪ¡ª ¤Ã¤Æ½Ð¤Þ¤¹¡£ |
¡¡¡¡
6·î24Æü¡ÊÌÚ¡Ë 23:26:29¡¡¡¡
¡¡¡¡50615 |
¤Ë¤ã¤â¡¼·¯¡Ê¡ä¦Ø¡ã¡Ë¥Î¥· |
#50613 ¤Ð¤Á´Ý¤µ¤ó
£î¤ÎÁ²²½¼°¤Ça(n)+b(n)¤ò°ìÈ̹à¤òɽ¤·¤Æ¤ß¤Þ¤·¤¿¤¬¡¢¡Ê¢å£²¡Ü£±¡Ë¤ä¤é¡Ê£±¡Ý¢å£²¡Ë¤ä¤é¡¢¤´¤Á¤ã¤´¤Á¤ã¤·¤¿Ãͤ¬½Ð¤Æ¤¤Æ¤·¤Þ¤¤¤Þ¤·¤¿¡¦¡¦¡¦ °Ê²¼Êý¿Ë a(1)=2 , b(1)=1 ¤È¤·¤Æ a(n+1)=a(n)+2b(n) ¡Ä¡ b(n+1)=a(n)+b(n)¡Ä¢ a(n+1)+xb(n+1)=y(a(n)+xb(n))¤È¤·¤Æ¡¢¡¢¤è¤êx,y¤ò²ò¤¯¤È (x,y)=(¢å2,¢å2 +1) (-¢å2 , 1-¢å2) ¤³¤ì¤òÍѤ¤¤Æ¡¡a(n)+¢å2£â¡Ên¡Ë,¡¡a(n)-¢å2b(n)¤ÎÅùÈæ¿ôÎó¤ò°ìÈ̹à¤Çɽ¤¹ a(n)+¢å2b(n¡Ë=(2+¢å2)(1+¢å2)^(n-1) a(n)-¢å2b(n) =(2-¢å2)(1-¢å2)^(n-1) ¤³¤ì¤«¤éa(n)+b(n)¤òƳ¤¯(¤´¤Á¤ã¤´¤Á¤ã±ø¤¤¼°¤Ë¤Ê¤ë¤¬¡¢n¤Ë¼«Á³¿ô¤òÅö¤Æ¤Ï¤á¤ë¤ÈÉԻ׵Ĥ˼«Á³¿ô¤Ë¤Ê¤ë) |
ºë¶Ì¸©¤µ¤¤¤¿¤Þ»Ô¡¡¡¡
6·î24Æü¡ÊÌÚ¡Ë 23:27:53¡¡¡¡
¡¡¡¡50616 |
¤Ë¤³¤¿¤ó |
ÃÏÌ£¤Ë¤ä¤ê¤Þ¤·¤¿¡£ |
Ķ¤ÉÅļˡ¡¡¡
6·î25Æü¡Ê¶â¡Ë 6:20:58¡¡¡¡
HomePage:µ¤¤Þ¤Þ¤Ë¡¡¡¡50617 |
¤Ë¤ã¤â¡¼·¯¡Ê¡ä¦Ø¡ã¡Ë¥Î¥· |
#50616³¤
a(n)+b(n)= ¡Ð(1+¢å2)^(n+1) + (1-¢å2)^(n+1)¡Ñ/2 n=5¤Î¤È¤¡¢99 |
ºë¶Ì¸©¤µ¤¤¤¿¤Þ»Ô¡¡¡¡
6·î25Æü¡Ê¶â¡Ë 21:35:19¡¡¡¡
¡¡¡¡50618 |
»ç¤Îé¬é¯¤Î¿Í |
#50613
#50602¤ÇÁ²²½¼°¤Ç²ò¤¤¤Æ¤¤¤Þ¤¹¡£ ¤¿¤À¡¢°ìÈ̹बåºÎï¤Ë¤Ê¤é¤Ê¤¤¥¿¥¤¥×¤À¤«¤é¡¢Åú¤¨¤Ï¡¢½çÈ֤˷׻»¡£ |
¡¡¡¡
6·î25Æü¡Ê¶â¡Ë 22:44:47¡¡¡¡
¡¡¡¡50619 |
¡Ö¿ô³Ø¡×¾®Î¹¹Ô |
Îã¤Ë¤è¤Ã¤Æ¡¢¥×¥í¥°¥é¥à¤â¤·¤Æ¤ß¤Þ¤·¤¿¡££Ò£õ£â£ù¤Ç¤¹¡£ºÆµ¢¤Ç¤¹¡£
£Ø¤Î¼¡¤Ë¤Ï£Ø¤«£Ú¤ò¡¢£Ù¤Î¼¡¤Ë¤Ï£Ù¤«£Ú¤ò¡¢£Ú¤Î¼¡¤Ë¤Ï£Ø¤«£Ù¤«£Ú¤ò ÉÕ¤±¤Æ¤¤¤Ã¤Æ¡¢5¸Äʤó¤À¤é½ª¤ï¤ê¤Ç¥«¥¦¥ó¥È¤·¤Þ¤¹¡£ $n=0 def m(y,r) if r<5 then case y when 'X' then for i in ['X','Z']; m(i,r+1) end when 'Y' then for i in['Y','Z']; m(i,r+1) end else for i in ['X','Y','Z']; m(i,r+1) end end else $n+=1 end end m('z',0) p $n ¤Á¤Ê¤ß¤Ë10¸Äʤ٤ë¤È¡¢£¸£±£±£¹Ä̤ê¤Ë¤Ê¤ë¤è¤¦¤Ç¤¹¡£ |
¡¡¡¡
6·î26Æü¡ÊÅÚ¡Ë 14:31:20¡¡¡¡
¡¡¡¡50620 |
¤Þ¤ë¥±¥ó |
Åìµþ¥³¥í¥ó¥Ü ¤Ê¤¦¡£
¥Þ¥µ¥ë¤µ¤ó¤È¤ÏÆþ¤ì°ã¤¤¡¢¥ª¥¿¥ª¥á¸À¤¨¤º»ÄÇ°¤Ç¤·¤¿¡£ ¥Þ¥È¥ó¤Î¥«¥ì¡¼¡¢¤ª¤¤¤·¤«¤Ã¤¿¤Ç¤¹¡£ |
¡¡¡¡
6·î30Æü¡Ê¿å¡Ë 14:14:05¡¡¡¡
¡¡¡¡50621 |
¤Þ¤ë¥±¥ó |
#50620
> ¤Á¤Ê¤ß¤Ë10¸Äʤ٤ë¤È¡¢£¸£±£±£¹Ä̤ê¤Ë¤Ê¤ë¤è¤¦¤Ç¤¹¡£ #50615 ¤Î¥ï¥ó¥é¥¤¥Ê¡¼¤Ç¤â10¤Î¾ì¹ç¤ä¤Ã¤Æ¤ß¤Þ¤·¤¿¡£ 8119 ¤ÇÅú¤¨°ì½ï¡£°Â¿´¤·¤Þ¤·¤¿¡£ |
¡¡¡¡
6·î30Æü¡Ê¿å¡Ë 18:26:30¡¡¡¡
¡¡¡¡50622 |