¥Ù¥ë¥¯¡¦¥«¥Ã¥Ä¥§ |
»°ÊÕ¤ÎŤµ¤ò¢¢¡¢¢¢+¢¤¡¢¢¢+¢¤+¢¤¤È¤¹¤ë¤È¡¢»°³Ñ·Á¤Ë¤Ê¤ë¤Ë¤Ï¢¢¡ä¢¤¤Ç¤¢¤ëɬÍפ¬¤¢¤ë¡£
¢¢¡á2¤«¤é33¤Þ¤Ç¤Ï¤½¤ì¤¾¤ì¢¤¤¬1Ä̤꤫¤é32Ä̤ꡣ ¢¢¡á34¤«¤é97¤Ï¡¢¤½¤ì¤¾¤ì¢¤¤¬32¡¢32¡¢31¡¢31¡¢¡¦¡¦¡¦2¡¢2¡¢1¡¢1Ä̤ê¤Ê¤Î¤Ç ¡Ê1+32¡Ë¡ß32¡à2¡ß3¡á1584Ä̤ꡣ |
¡¡¡¡
11·î24Æü¡ÊÌÚ¡Ë 0:10:32¡¡¡¡
¡¡¡¡45543 |
¥ä¥Ã¥³¥Á¥ã |
Àµ»°³Ñ·Á¤ÏÆþ¤é¤Ê¤¤¤È¤¤¤¦¤³¤È¤Ç¡¢1584¡£Àµ»°³Ñ·Á¤¢¤ê¤Ê¤é1683¡£¤¢¤ê¤Ê¤é¤Ò¤Ã¤«¤«¤ê¤Þ¤¹¤Í(´À |
¡¡¡¡
11·î24Æü¡ÊÌÚ¡Ë 0:18:29¡¡¡¡
¡¡¡¡45544 |
¥´¥ó¤È¤â |
½½¿ÊBasic ¤Ç AB=c,AC=b,BC=a¤È¤·¤Æ for c=1 to 99 for b=c+1 to 99 for a=b+1 to 99 if a-b<>b-c or b+c<=a then goto 10 let s=s+1 10 next a 20 next b 30 next c print s end f9²¡¤·¤Æ¡¡1584¡¦¡¦¡¦¡¦¡¦¡¦(Åú¤¨) <100¤Ê¤Î¤Ë99¤Ç¤Ê¤¯100¤È¤·¤Æ¤¤¤ÆÃÙ¤ì¤Þ¤·¤¿¡£2ʬ¤¯¤é¤¤¤Ç¤Ç¤¤¿ÌäÂê¤À¤Ã¤¿¤Î¤Ç¤¹¤¬¡¦¡¦¡¦ |
ËÀî»Ô¡¡¡¡
11·î24Æü¡ÊÌÚ¡Ë 0:32:41¡¡¡¡
¡¡¡¡45545 |
º£Ç¯¤«¤é¹âÎð¼Ô |
¤·»»¤Ë¼ê´Ö¼è¤ê¤Þ¤·¤¿¡£ºÇ¸å¤Ï¥¨¥¯¥»¥ë¤Ç¤·»»¤·¤¿¡£
AB=a¤È¤¹¤ë¡£º¹¤¬a°Ê¾å¤Ë¤Ê¤ë¤È»°³Ñ·Á¤¬¤Ç¤¤Ê¤¤¡£ ¤½¤Î¾å¤Ç¡¢BC¤Ï100̤Ëþ¤Ê¤Î¤Ç¡¢a¤Ï99-2*º¹¤Þ¤Ç¤¬»°³Ñ·Á¤¬¤Ç¤¤ëÈÏ°Ï¤Ê¤Î¤Ç º¹¤¬1¤Î»þ¡¢a¡á2¡Á97¤¬²Äǽ¡£ º¹¤¬2¤Ê¤é¡¢a¡á3¡Á95¤¬²Äǽ¡£ º¹¤¬1Áý¤¨¤ëËè¤Ë3¸º¤ë¡£ 96+93+90+....3=1584 |
¡¡¡¡
11·î24Æü¡ÊÌÚ¡Ë 0:39:02¡¡¡¡
¡¡¡¡45546 |
Ϥ䷤ã¤ó |
»°³Ñ·Á¤ÎÀ®Î©¾ò·ï¤Ï¡¢ºÇÂçÊա㾤ÎÆóÊÕ¤ÎÏ¡¡¤è¤ê¡¢
ºÇÂçÊÕ¤òx¡¢Ä¹¤µ¤Îº¹¤òy¤È¤ª¤¯¤È¡¢ (x-y)+(x-2y)¡äx ¤·¤¿¤¬¤Ã¤Æx¡ä3y y=1¡¡¤Î»þ¡¢x¡æ4 x¤Ï1¡Á99¤ÎÀ°¿ô¤À¤«¤é¡¡ ¤³¤ì¤ò¤ß¤¿¤¹x¤ÎÃͤϡ¡96¸Ä y=2¡¡¤Î»þ¡¢¡¡x¡æ7 ¤«¤é¡¡93¸Ä ... y=32 ¤Î»þ¡¢¡¡x¡æ97 ¤«¤é¡¡3¸Ä ¤è¤Ã¤Æ¡¢µá¤á¤ë»°³Ñ·Á¤Î¸Ä¿ô¤Ï¡¢ 96+93+90+...+6+3=99¡ß16=1584 |
°¦Ãθ©¡¡¡¡
11·î24Æü¡ÊÌÚ¡Ë 0:30:41¡¡¡¡
¡¡¡¡45547 |
¤ß¤«¤ó |
ºÇŤ¬£´¤Î»þ¡¡¡Ê£²¡¦£³¡¦£´¡Ë
ºÇŤ¬£µ¤Î»þ¡¡¡Ê£³¡¦£´¡¦£µ¡Ë ºÇŤ¬£¶¤Î»þ¡¡¡Ê£´¡¦£µ¡¦£¶¡Ë ºÇŤ¬£·¤Î»þ¡¡¡Ê£µ¡¦£¶¡¦£·¡Ë¡¡¡Ê£³¡¦£µ¡¦£·¡Ë ¡Ä¤È¤¤¤Ã¤¿¶ñ¹ç¤Ë¤È¤ê¤¢¤¨¤ºÄ´¤Ù¤ë¤È¡¢ ºÇŤ¬£´¡¢£µ¡¢£¶¤Î»þ¡¡³Æ£±Ä̤ꡡ¢ª·×£³ ºÇŤ¬£·¡¢£¸¡¢£¹¤Î»þ¡¡³Æ£²Ä̤ꡡ¢ª·×£¶ ºÇŤ¬£±£°¡¢£±£±¡¢£±£²¤Î»þ¡¡³Æ£³Ä̤ꡡ¢ª·×£¹ ¡ÊÃæά¡Ë ºÇŤ¬£¹£·¡¢£¹£¸¡¢£¹£¹¤Î»þ¡¡³Æ£³£²Ä̤ꡡ·×£¹£¶ ¤Î¤è¤¦¤Êµ¬Â§À¤Ç¤¢¤ë¤Èʬ¤«¤ë¡£ ¤¢¤È¤Ï½é¹à£³¡¢¸øº¹£³¤ÎÅùº¹¿ôÎó¤ò£¹£¶¤Þ¤Ç¤·¹ç¤ï¤»¤ì¤Ð¤¤¤¤¤À¤±¡£ ¡Ê£³¡Ü£¹£¶¡Ë¡ß£³£²¡à£²¡á£±£µ£¸£´¡¡¤¬Åú¤¨¡£ |
¡¡¡¡
11·î24Æü¡ÊÌÚ¡Ë 1:14:24¡¡¡¡
¡¡¡¡45549 |
kyorofumi |
count = 0;
for ab = 1:99 for ac = ab:99 for bc = ac:99 if ab < ac && ac < bc if (ab+ac) > bc && abs(bc-ac) == abs(ac-ab) count = count+1; end end end end end |
¡¡¡¡
11·î24Æü¡ÊÌÚ¡Ë 0:32:27¡¡¡¡
¡¡¡¡45550 |
»ç¤Îé¬é¯¤Î¿Í |
AB=x,AC=x+a,BC=x+2a
¤È¤ª¤¯¤È¡¢»°³Ñ·Á¤¬¤Ç¤¤ë¾ò·ï¤Ï¡¢ AB+AC¡äBC¤À¤«¤é¡¢ x¡æ1¤«¤Ä¡¢1¡åa¡åx-1¤«¤Ä¡¢x+2a¡å99¤È¤Ê¤ëÀ°¿ô(x,a)¤ÎÁȤ߹ç¤ï¤»¤ò¿ô¤¨¤ë¤³¤È¤Ë¡£ x=1¤Î¤È¤¡¢a¤Ï¤Ê¤· 2¡åx¡å33¤Î¤È¤¡¢a=1¡Áx-1 34¡åx¡å97¤Î¤È¤¡¢a=1¡Á[(99-x)/2] 98¡åx¤Î¤È¤¡¢a¤Ï¤Ê¤· ¤À¤«¤é¡¢ ¾ì¹ç¤Î¿ô¡á1+2+¡¦¡¦¡¦+32+32+32+¡¦¡¦¡¦¡¦+1+1 ¡á(1+32)*32/2*3 ¡á1584 |
¡¡¡¡
11·î24Æü¡ÊÌÚ¡Ë 0:35:51¡¡¡¡
¡¡¡¡45552 |
kyorofumi |
you didn't need the if condition...
count = 0; for ab = 1:99 for ac = ab+1:99 for bc = ac+1:99 if (ab+ac) > bc && abs(bc-ac) == abs(ac-ab) count = count+1; end end end end |
¡¡¡¡
11·î24Æü¡ÊÌÚ¡Ë 0:36:16¡¡¡¡
¡¡¡¡45553 |
Mr.¥À¥ó¥Ç¥£ |
£³ÊÕ¤ÏÅùº¹¿ôÎó¤ò¤Ê¤·¡¢Åùº¹¤¬ºÇÂçÊÕ¤Î1/3̤Ëþ¤Ç¤¢¤ì¤Ð»°³Ñ·Á¤¬½ÐÍè¤ë¤Î¤Ç
Åùº¹¤¬£±¤Î¤â¤Î¤Ï¡¡ºÇÂçÊÕ¤¬4¡Á99¤Î¡¡96Ä̤ê Åùº¹¤¬£²¤Î¤â¤Î¤Ï¡¡ºÇÂçÊÕ¤¬7¡Á99¤Î¡¡93Ä̤ê Åùº¹¤¬£³¤Î¤â¤Î¤Ï¡¡ºÇÂçÊÕ¤¬10¡Á99¤Î¡¡90ÄÌ¤ê ¡¦¡¦¡¦ Åùº¹¤¬32¤Î¤â¤Î¤Ï¡¡ºÇÂçÊÕ¤¬97¡Á99¤Î¡¡3ÄÌ¤ê ¤è¤Ã¤Æ 3+6+¡¦¡¦+96=3*(32*33)/2¡á1584¡¡(Ä̤ê¡Ë ¤È¹Í¤¨¤Þ¤·¤¿¡£ |
¡¡¡¡
11·î24Æü¡ÊÌÚ¡Ë 0:44:19¡¡¡¡
¡¡¡¡45554 |
¥¹¥â¡¼¥¯¥Þ¥ó |
º¹¤¬Åù¤·¤¤¤Î¤Ç¤·¤¿¡Ä^^;;
99-a+99-2a>=100 2*99-(99+1)>=3a¡¦¡¦¡¦98/3=32>=a¡¦¡¦¡¦32 2*98-(98+1)>=3a¡¦¡¦¡¦97/3=32>=a ¡Ä 2*k-(k+1)>=3a¡¦¡¦¡¦(k-1)/3>=a k-1+k-2=k+1¡¦¡¦¡¦k=4 k=4¡Á99 3¡Á98¡¦¡¦¡¦(32+¡Ä+1)*3=16*33*3=1584 ¤µ¤¤¤·¤ç¡Ä ¤¢¤ê¤¦¤ë¢¤¤Î¿ô¤ò¡Ä 96+95+¡Ä+2 =96*97/2-1 =4655 ¤Ê¤ó¤Æ...^^;; |
¡¡¡¡
11·î24Æü¡ÊÌÚ¡Ë 0:46:31¡¡¡¡
¡¡¡¡45555 |
J¥Þ¥Þ |
¤³¤ó¤Ð¤ó¤Ï
»þ´Ö¤ò˺¤ì¤Æ¤Þ¤·¤¿(^_^;) ¤ß¤«¤ó¤µ¤ó¤ÈƱÍͤ˵¬Â§À¤òÄ´¤Ù¤Æ·×»»¤·¤Þ¤·¤¿¡£ |
¡¡¡¡
11·î24Æü¡ÊÌÚ¡Ë 1:07:02¡¡¡¡
¡¡¡¡45556 |
¤¢¤á¤¤ |
#45549¤ß¤«¤ó¤µ¤ó¤ÈƱ¤¸¤¯¡¢´ö¤Ä¤«Ä´¤Ù¤Æ£³¤Ä¤º¤Ä£±Ä̤꤫¤é£³£²Ä̤ê¤Þ¤Ç¤ÎÄ̤꤬¤¢¤ë¡Ê¤À¤í¤¦¤È¤¤¤¦¡Ëµ¬Â§À¤ò¤ß¤Ä¤±·×»»¤·¤Þ¤·¤¿¡£ |
¤ªÇϺꡡ¡¡
11·î24Æü¡ÊÌÚ¡Ë 1:07:20¡¡¡¡
¡¡¡¡45557 |
¥´¥ó¤È¤â |
#45545
¼«¸Ê¥ì¥¹¤Ç¤¹¤¤¤Þ¤»¤ó½½¿ÊBasic ¤Ç¥½¡¼¥¹¥³¡¼¥É¤¬¾¯¤·Ã»¤¯¤Ê¤ê for c=1 to 99 for b=c+1 to 99 for a=b+1 to 99 if a-b=b-c and b+c>a then let s=s+1 next a next b next c print s end XMaxima ¤Ç¤Ï3¹Ô¤Ç¤·¤¿¡£ j:0$for c:1 thru 99 do for b:c+1 thru 99 do for a:b+1 thru 99 do (if a-b=b-c and b+c>a then j:j+1)$j; ¥¨¥ó¥¿¡¼²¡¤·¤Æ¡¡1584¡¦¡¦¡¦¡¦¡¦¡¦(Åú¤¨) |
ËÀî»Ô¡¡¡¡
11·î24Æü¡ÊÌÚ¡Ë 1:32:45¡¡¡¡
MAIL:fttnm528@ybb.ne.jp ¡¡¡¡45558 |
mun |
¤ª¤Ï¤è¤¦¤´¤¶¤¤¤Þ¤¹¡£
AC-AB=BC-AC=s¤È¤ª¤¯¤È¡¢ 0<AB, AB+2s<100. »°³Ñ·Á¤Ë¤Ê¤ë¢ÎAB+AC>BC¤À¤«¤é¡¢ AB+(AB+s)>AB+2s.²ò¤¤¤ÆAB>s. °Ê¾å¤«¤é¡¢ ¡¦s=n¤Î¤È¤¡¢x¤Ïn+1¤«¤é99-2n¤ÎÃÍ¡¢¤Ä¤Þ¤ê99-3nÄ̤ê¤ÎÃͤò¤È¤ë ¡¦1¡ås¡å32 ¤¬Ê¬¤«¤ê¤Þ¤¹¡£¤è¤Ã¤Æ¦²^32_{n=1}(99-3n)=1584.¤È¤·¤Þ¤·¤¿¡£ |
¡¡¡¡
11·î24Æü¡ÊÌÚ¡Ë 6:39:32¡¡¡¡
¡¡¡¡45559 |
¥Ï¥é¥®¥ã¡¼¥Æ¥¤ |
¤¹¤ß¤Þ¤»¤ó¡¡¥×¥í¥°¥é¥à¤Ç¤¹ |
¡¡¡¡
11·î24Æü¡ÊÌÚ¡Ë 8:38:19¡¡¡¡
¡¡¡¡45561 |
¤Ë¤³¤¿¤ó |
AB=a
º¹¤òb BC<AB+AC¤è¤êa>b BC<100¤è¤êa+2b<100¤è¤Ã¤Æb¡å32 b=1¤Ça=2,3,...,97 b=2¤Ça=3,4,...,95 ... ... b=32¤Ça=33,34,35 £³¤Ä¤º¤Ä¸º¤ë ÁíϤÏ3+6+9+...+96=ô3i(1¡åi¡å32)=3¡ß32¡ß33¡à2=1584 |
¡¡¡¡
11·î24Æü¡ÊÌÚ¡Ë 10:01:13¡¡¡¡
MAIL:nikotan@fat.coara.or.jp ¡¡¡¡45562 |
??? |
k=0
for a=3 to 99 for b=2 to a-1 c=2*b-a k=k-(1<=c and c<b and abs(a-b)<c and c<a+b) next next msgbox k |
¡¡¡¡
11·î24Æü¡ÊÌÚ¡Ë 10:51:41¡¡¡¡
¡¡¡¡45563 |
¹«¤ÎÌ´ |
¡¡¡ô45554¡¡Mr.¥À¥ó¥Ç¥£ÍͤÈÁ´¤¯Æ±¤¸¹Í¤¨Êý¤Ç¤ä¤ê¤Þ¤·¤¿¤¬¡¢ºÇ½é¤Ïʬ¤«¤é¤º¡¢¿§¡¹¤È½ñ¤½Ð¤·¡¢»î¹Ôºø¸í¤ÎËö¤ä¤Ã¤È¤³¤Î¹Í¤¨¤Ë»ê¤ê¤Þ¤·¤¿¡£Èè¤ì¤Þ¤·¤¿¡£ |
¡¡¡¡
11·î24Æü¡ÊÌÚ¡Ë 10:57:46¡¡¡¡
¡¡¡¡45564 |
uchinyan |
¤Ï¤¤¡¤¤³¤ó¤Ë¤Á¤Ï¡£¤µ¤Æ¡¤º£²ó¤ÎÌäÂê¤Ï¡¥¡¥¡¥
º£²ó¤Ï¿Þ·Á¤Î´é¤ò¤·¤¿¾ì¹ç¤Î¿ô¤Ç¤·¤¿¤Í¡£ ¤³¤ì¤â¥³¥Ä¥³¥ÄÄ´¤Ù¤ì¤Ðµ¬Â§À¤¬¸«¤¨¤ë¤Î¤Ç¡¤»»¥Á¥ã¥ì¤È¤·¤Æ¤Ïɸ½àŪ¤«¤ä¤ä°×¤«¤Ê¡£ ¤¿¤À¡¤¥¥Á¥ó¤ÈÏÀÍýŪ¤Ë²ò¤³¤¦¤È¤¹¤ë¤È¿ô³Ø¤Ý¤¯¤Ê¤Ã¤Æ¤·¤Þ¤¦¤è¤¦¤Ç¤¹¡£¤³¤ó¤Ê´¶¤¸¤Ç¡£ BC - AC = AC - AB = ¡û cm¡¤¤È¤·¤Þ¤¹¡£¡û¤Ï 1 °Ê¾å¤ÎÀ°¿ô¤Ç¤¹¡£ ¤¹¤ë¤È¡¤AC = AB + ¡û¡¤BC = AC + ¡û = AB + ¡û * 2¡¤¤Ç¡¤ BC < 100¡¤¤è¤ê¡¤AB + ¡û * 2 <= 99 < 100¡¤AB <= 99 - ¡û * 2¡¤¤Ç¤¹¡£ °ìÊý¤Ç¡¤»°³Ñ·Á¤Î¤Ç¤¤ë¾ò·ï¤è¤ê¡¤BC - AB < AC¡¤¤Ê¤Î¤Ç¡¤¡û * 2 < AB + ¡û¡¤¡û < ¡û + 1 <= AB¡¤¤Ç¤¹¡£ ¤³¤ì¤é£²¤Ä¤Î¾ò·ï¤è¤ê¡¤¡û + 1 <= AB <= 99 - ¡û * 2¡¤¤È¤Ê¤ê¡¤¤³¤Î¤È¤¡¤1 <= ¡û <= 32¡¤¤Ç¤¹¡£ ¤½¤·¤Æ¡¤¤³¤Î¾ò·ï¤Î²¼¤Î AB¡¤AC¡¤BC ¤Ç¡¤»°³Ñ·Á¤¬£±¤Ä·èÄꤷ¤Þ¤¹¡£ ¤½¤³¤Ç¡¤¡û = 1 ¡Á 32 ¤ËÂФ·¤Æ AB ¤Ï¡¤(99 - ¡û * 2) - (¡û + 1) + 1 = 99 - ¡û * 3 Ä̤ꡤ¸ºß¤¹¤ë¤Î¤Ç¡¤ Á´Éô¤Ç¡¤96 + 93 + 90 + ¡Ä + 9 + 6 + 3 = ((96 + 3) * 32)/2 = 1584 Ä̤ꡤ¤Ë¤Ê¤ê¤Þ¤¹¡£ ¤è¤ê»»¿ôŪ¤Ë¤Ï¡¤¡û¤ò 1, 2, 3, ¡Ä ¤È¶ñÂÎŪ¤ËÄ´¤Ù¤Æ 99 - ¡û * 3 ¤Îµ¬Â§À¤ò¸«¤Ä¤±¤ë¡¤¤È¤¤¤Ã¤¿¤È¤³¤í¤Ç¤·¤ç¤¦¤«¡£ Ê̲ò¤È¤¤¤¦¤Û¤É¤Î¤â¤Î¤Ç¤â¤Ê¤¤¤Ç¤¹¤¬¡¤¤³¤ó¤ÊÉ÷¤Ë¹Í¤¨¤Æ¤â¤¤¤¤¤Ç¤¹¤Í¡£ BC - AC = AC - AB¡¤¤è¤ê¡¤AC = (AB + BC)/2¡¤¤È¤Ê¤ê¡¤AB ¤È BC ¤Ï¡¤Î¾Êý¤È¤â´ñ¿ôËô¤ÏξÊý¤È¤â¶ö¿ô¡¤¤Ç¤¹¡£ ¤Þ¤¿¡¤»°³Ñ·Á¤Î¤Ç¤¤ë¾ò·ï¤è¤ê¡¤BC - AB < AC = (AB + BC)/2¡¤¤Ê¤Î¤Ç¡¤BC/3 < AB¡¤¤¬¤¤¤¨¤Þ¤¹¡£ ¤³¤ì¤é£²¤Ä¤Î¾ò·ï¤è¤ê¡¤ BC/3 < AB < AC = (AB + BC)/2 < BC < 100¡¤AB ¤È BC ¤Ï¡¤Î¾Êý¤È¤â´ñ¿ôËô¤ÏξÊý¤È¤â¶ö¿ô¡¤ ¤Ç¤¹¡£¤½¤³¤Ç¡¤BC ¤ò 3 ¡Á 99 ¤ÇÆ°¤«¤·¤ÆÄ´¤Ù¤ë¤È¡¤ 03 04 05 06 07 08 09 ¡Ä 90 91 92 93 94 95 96 97 98 99¡¡<--- BC 02 02 02 03 03 03 04 ¡Ä 31 31 31 32 32 32 33 33 33 34¡¡<--- AB ¤ÎºÇ¾®ÃÍ 00 01 01 01 02 02 02 ¡Ä 29 30 30 30 31 31 31 32 32 32¡¡<--- ²Äǽ¤Ê¾ì¹ç¤Î¿ô ¤³¤³¤Þ¤Ç½ñ¤«¤Ê¤¯¤È¤âµ¬Â§À¤Ï¤¹¤°¤Ëʬ¤«¤ê¤Þ¤¹¤Í¡£ ·ë¶É¡¤(1 + 2 + 3 + ¡Ä + 30 + 31 + 32) * 3 = (32 * 33)/2 * 3 = 1584 Ä̤ꡤ¤Ë¤Ê¤ê¤Þ¤¹¡£ ¤³¤Á¤é¤â¤è¤ê¿ô³ØŪ¤Ë½ñ¤¯¤³¤È¤â¤Ç¤¤Þ¤¹¤¬¡¤ 6 ¤Î;¤ê¤Ç¾ì¹çʬ¤±¤Ë¤Ê¤ê¤½¤¦¤Ç¡¤¼ã´³ÌÌÅݤˤʤꤽ¤¦¤Ç¤¹¡£ |
¡¡¡¡
11·î24Æü¡ÊÌÚ¡Ë 13:24:27¡¡¡¡
¡¡¡¡45565 |
uchinyan |
·Ç¼¨ÈĤòÆɤߤޤ·¤¿¡£
Ãí°Õ °Ê²¼¤Îµ½Ò¤Ï¡¤¤½¤â¤½¤â¤Ï»ä¼«¿È¤ÎÊÙ¶¯¤Î¥á¥â¤Ë²á¤®¤Ê¤¤¤Î¤Ç¤¹¤¬¡¤ À޳ѤʤΤǤ´»²¹Í¤Þ¤Ç¤Ë¤È»×¤Ã¤Æ¸ø³«¤¹¤ë¤â¤Î¤Ç¤¹¡£ ¤½¤¦¤¤¤¦¤³¤È¤â¤¢¤Ã¤Æ¡¤²òË¡¤ÎʬÎà¤Ï»»¥Á¥ã¥ì¤Î F.A.Q. ¤Î¡Ö»»¿ô¤ÎÈϰϡפε½Ò¤ò»²¹Í¤Ë¡¤ »ä¸Ä¿Í¤¬ÆÈÃǤÈÊи«¤Ç¼ç´ÑŪ¤Ë¹Ô¤Ã¤Æ¤¤¤ë¤â¤Î¤Ç¤¢¤Ã¤Æ¡¤µÒ´ÑŪ¤Ê¤â¤Î¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£ ¤¢¤¯¤Þ¤Ç¤â¤´»²¹Í¤Ç¤¹¡£°¤·¤«¤é¤º¡£ ¤«¤Ê¤ê¿ô³Ø¤Ý¤¤¤Î¤â¤¢¤ê¤Þ¤¹¤¬¡¤¤½¤³¤ÏÌܤò¤Ä¤Ö¤ê¤Þ¤·¤¿¡£ ¤Þ¤¿¡¤¼°¤Î°·¤¤Êý¡¤ÏÀÍý¤Î±¿¤ÓÊý¤Ê¤É¤Ë¤Ï¡¤¤½¤ì¤¾¤ì¥Ð¥ê¥¨¡¼¥·¥ç¥ó¤¬¤¢¤ê¤Þ¤¹¡£ #45543¡¤#45552 »°³Ñ·Á¤Î£³ÊÕ¤ò¡¤¢¢¡¤¢¢ + ¢¤¡¤¢¢ + ¢¤ + ¢¤¡¤¤È¤ª¤¤¤Æ¡¤»°³Ñ·ÁÀ®Î©¾ò·ï¤È¢¢¤ÎÈϰϤȤ«¤éÄ´¤Ù¤ë²òË¡¡£ #45546¡¤#45547¡¤#45554¡¤#45559¡¤#45562¡¤#45564¡¤#45565¤ÎÁ°È¾¡¤#45568 BC - AC = AC - AB = ¡û ¤È¤ª¤¤¤Æ¡¤»°³Ñ·ÁÀ®Î©¾ò·ï¤È¡û¤ÎÈϰϤȤ«¤éÄ´¤Ù¤ë²òË¡¡£ #45549¡¤#45555¡¤#45556¡¤#45557¡¤#45565¤Î¸åȾ BC ¤ò¤½¤Î²Äǽ¤ÊÈϰϤÇÆ°¤«¤·»°³Ñ·ÁÀ®Î©¾ò·ï¤È¤«¤éÄ´¤Ù¤ë²òË¡¡£ #45569 BC - AC = AC - AB = r ¤È¤ª¤¯¤È»°³Ñ·ÁÀ®Î©¾ò·ï¤«¤é 1 <= r < BC/3 ¤¬¤¤¤¨¤ë¤³¤È¤«¤é BC ¤òÆ°¤«¤·¤ÆÄ´¤Ù¤ë²òË¡¡£ #45546¤Ê¤É¤È#45549¤Ê¤É¤ò¹ç¤ï¤»¤¿¤è¤¦¤Ê²òË¡¤Ç¤¹¤¬¡¤¾ò·ï¤Î¹Ê¤êÊý¤¬¤¦¤Þ¤¤¤Ê¡¤¤È´¶¿´¤·¤Þ¤·¤¿¡£ ¤Ê¤ª¡¤BC = 3n-2¡¤3n-1¡¤3n ¤Î¤È¤¤Ï¤¤¤º¤ì¤â 1 <= r < n ¤È¤Ê¤ë¤Î¤Ç BC = 3n ¤Î¾ì¹ç¤ò¹Í¤¨¤Æ 3 Çܤ¹¤ì¤Ð¤è¤¯¡¤ BC = 3n ¤Î¾ì¹ç¤Ï n = 1 ¡Á 33 ¤Ç¾ò·ï¤òËþ¤¿¤¹ r ¤È n ¤Ïñ¤Ë 1 ¡Á 33 ¤«¤é½ÅÊ£¤Ê¤·¤Ë£²¤Ä¤òÁª¤Ù¤Ð¤¤¤¤¤Î¤Ç¡¤ 33C2 * 3 = (33 * 32)/2 * 3 = 1584 Ä̤ꡤ¤È´Êñ¤Ëµá¤á¤é¤ì¤Þ¤¹¤Í #45545¡¤#45550¡¤#45558¡¤#45561¡¤#45563 ¥×¥í¥°¥é¥à¤Ë¤è¤ë²òË¡¡£ |
¡¡¡¡
11·î25Æü¡Ê¶â¡Ë 12:53:12¡¡¡¡
¡¡¡¡45566 |
¥¤¥È¡¼¥è¡¼¥«¥É¡¼ |
¥¤¥È-¥è¡¼¥«¥É¡¼¤Ë¤·¤è¤¦¤È»×¤Ã¤¿¤é¾Ç¤Ã¤Æ°ËÆ£¤À¤Ë¤·¤Æ¤·¤Þ¤Ã¤¿¡£ |
¡¡¡¡
11·î24Æü¡ÊÌÚ¡Ë 15:36:45¡¡¡¡
¡¡¡¡45567 |
¥¤¥È¡¼¥è¡¼¥«¥É¡¼ |
º¹¤¬£±¤Î»þ¤Ï96Ä̤ꡢ2¤Î»þ¤Ï93Ä̤ꡦ¡¦¡¦¤È¤¤¤¦¤è¤¦¤ËÅùº¹¿ôÎó¤Ç¤Ç¤¤Þ¤·¤¿¡£ |
¡¡¡¡
11·î24Æü¡ÊÌÚ¡Ë 15:41:45¡¡¡¡
¡¡¡¡45568 |
¤Ë¤ã¤â¡¼·¯ |
¤³¤ó¤Ë¤Á¤Ï¡£º£²ó¤Ï°Å»»¤Ç°ìȯÀµ²ò¤À¤Ã¤¿¤Î¤¬´ò¤·¤«¤Ã¤¿¤Ç¤¹¡£
°ìÈÖû¤¤ÊÕ¤òA¡¡°ìÈÖŤ¤ÊÕ¤òB¤È¤·¤Æ¡¢ÊÕƱ»Î¤Îº¹¤ò£ò¤È¤¹¤ë¡£ B¡áA+£²£ò¡¡¤«¤Ä£±¡å£ò¡ã1/3B B¡á99¡ÊB¤ÎºÇÂçÃ͡ˤΤȤ¡¢¾ò·ï¤òËþ¤¿¤¹£ò¤Ï£±¡å£ò¡å32¡¡32¸Ä B¡á98¡¡32¸Ä B¡á97¡¡32¸Ä B¡á96¤Î¤È¤¡¢¾ò·ï¤òËþ¤¿¤¹£ò¤Ï¡¢£±¡å£ò¡å31¡¡31¸Ä ¢ B¡á£³¤Î¤È¤¡¢£ò¡á£±¡¡£±¸Ä ¤³¤Î¤è¤¦¤Ë¡¢B¤¬£³¸º¤ë¤´¤È¤Ë¡¢¾ò·ï¤òËþ¤¿¤¹£ò¤Î¸Ä¿ô¤¬£±¸º¤Ã¤Æ¤¤¤¯¡£ ¤è¤Ã¤Æ¡¢»°³Ñ·Á¤ÎÁíϤϡ¦¡¦¡¦ 32+32+32+31+31+31+30+30+30+¡Ä+1+1+1 £³¡ß32¡ß33¡¿£²¡á1584ÄÌ¤ê ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡°Ê¾å |
¤µ¤¤¤¿¤Þ»Ô±ºÏ¶è¡Ê¼«¾Î¡Ë¡¡¡¡
11·î24Æü¡ÊÌÚ¡Ë 19:01:16¡¡¡¡
¡¡¡¡45569 |
¥³¡¼¥»¡¼¥¸ |
»°³Ñ·Á¤ÎÀ®Î©¾ò·ï¤ò¹Í¤¨Ëº¤ì¡¢»´ÇԤǤ¹( ¡¢¤¡®) |
¡¡¡¡
11·î24Æü¡ÊÌÚ¡Ë 21:20:20¡¡¡¡
¡¡¡¡45570 |
¤ª¤¹¤Þ¤ó |
Àµ²ò¤·¤¿¤À¤±¤ÇËþ¤Ǥ¹(^^; |
somewhere in the world¡¡¡¡
11·î24Æü¡ÊÌÚ¡Ë 22:33:39¡¡¡¡
¡¡¡¡45571 |
ʪÍý¹¥¤ |
#include<stdio.h>
int main(void){ int i,j,k,r=0; for(i = 1;i <= 97;i++){ for(j = i+1;j <= 98;j++){ for(k = j+1;k <= 99;k++){ if(k-j == j-i && i+j > k){r++;} } } } printf("%d\n",r); return 0; } Ëͤ⻰³Ñ·Á¤ÎÀ®Î©¾ò·ï¤ò˺¤ì¤Æ¤¤¤Þ¤·¤¿^^; 2½Å¤Þ¤ÇÍÞ¤¨¤é¤ì¤ë¤Î¤Ç¤¹¤¬º£²ó¤ÏÊÕ¤ÎŤµ¤¬100¡¢3½Å¥ë¡¼¥×¤Ë¤·¤Æ¤â¹â¡¹100Ëü²ó¤Ê¤Î¤Ç¤³¤ì¤Ç½½Ê¬¤Ç¤·¤ç¤¦^^; |
Âçºå¡¡¡¡
11·î30Æü¡Ê¿å¡Ë 21:39:47¡¡¡¡
HomePage:Twitter¡¡¡¡45572 |