¥Ù¥ë¥¯¡¦¥«¥Ã¥Ä¥§ |
14¤È23¤Î¾ì¹ç¡¢³Æ·å¤Î¿ôÃͤÎÊ¿¶Ñ¤¬2.5¤Ç8Ä̤ꤢ¤ë¤Î¤Ç4444¡ß5¡á22220¡¢
14¤È05¤Î¾ì¹ç¡¢05¤È50¤Çʬ¤±¤Æ¹Í¤¨¤Þ¤·¤¿¡£ 23¤È05¤âƱÍÍ¡£ ¹ç·×64550¤Ë¤Ê¤ê¤Þ¤·¤¿¡£ ºÇ½é²¿Ä̤ꤢ¤ë¤«¤È´ª°ã¤¤¤·¤Æ¤¤¤Æ¡¢¾¯¤·Á°¤Ë¤ä¤Ã¤È¹ç·×¤À¤Èµ¤¤Å¤¤Þ¤·¤¿¡£ |
¡¡¡¡
6·î11Æü¡ÊÌÚ¡Ë 0:13:55¡¡¡¡
¡¡¡¡49206 |
¥´¥ó¤È¤â |
½½¿ÊBasic ¤Ç
FOR a=1 TO 5 FOR b=0 TO 5 IF b=a THEN GOTO 30 FOR c=0 TO 5 IF c=a OR c=b THEN GOTO 20 FOR d=0 TO 5 IF d=a OR d=b OR d=c THEN GOTO 10 IF (a+b=5 AND b+c=5 AND c+d<>5) OR (a+b=5 AND b+c<>5 AND c+d=5) OR (a+b<>5 and b+c=5 AND c+d=5) THEN LET s=s+10^3*a+10^2*b+10*c+d 10 NEXT d 20 NEXT c 30 NEXT b NEXT a PRINT s END f9²¡¤·¤Æ¡¡64550¡¦¡¦¡¦¡¦¡¦¡¦(Åú¤¨) |
ËÀî»Ô¡¡¡¡
6·î11Æü¡ÊÌÚ¡Ë 0:17:11¡¡¡¡
MAIL:fttnm528@ybb.ne.jp ¡¡¡¡49207 |
»ç¤Îé¬é¯¤Î¿Í |
¤Þ¤º¤Ï¡¢Àé¤Î°Ì¤Ë0¤òµö¤·¤Æ¡¢¸å¤Ç½ü³°¤¹¤ë¡£
Ϥ¬£µ¤È¤Ê¤ëÁȤ߹ç¤ï¤»¤Ï¡¢ A:0-5 B:1-4 C:2-3 ¤Î¤É¤ì¤«¡£ £´·å¤ÎÀ°¿ô¤òabcd¤Çɽ¤¹¤È¤¡¢ b+c¡á5¤À¤È¤¹¤ë¤È¡¢a+b¡â5¡¢c+d¡â5¤Ê¤Î¤Ç¡¢ ÎÙ¤ê¹ç¤¦2·å¤¬¡¢£µ¤Ë¤Ê¤ë¤Î¤Ï¡¢ XX'YY' ¤È¤Ê¤ë¥Ñ¥¿¡¼¥ó¤À¤±¡£ (X,X'¤Ï¡¢A,B,C¤ÎƱ¤¸¥°¥ë¡¼¥×¡¢Y,Y'¤Ï¡¢A,B,C¤ÎƱ¤¸¥°¥ë¡¼¥×¤ÇX¤ÈÊ̤Υ°¥ë¡¼¥×) ¤³¤³¤Ç¡¢X¡¢Y¤Î¥°¥ë¡¼¥×¤ÎÁª¤ÓÊý¤Ï¡¢6Ä̤ꡣ ³ÆÁª¤ÓÊý¤ËÂФ·¤Æ¡¢¼¡¤Î£´¿ô¤ÎϤòÀè¤Ë¼è¤ë¡£ XX'YY' XX'Y'Y X'XYY' X'XY'Y ¤³¤Î4¿ô¤ÎϤϡ¢5555*2¡á11110 ¥°¥ë¡¼¥×¤ÎÁª¤ÓÊý¤¬£¶Ä̤ê¤À¤«¤é¡¢ Àé¤Î°Ì¤Ë0¤òµö¤·¤¿¾ì¹ç¤Î¿ô¤Ï¡¢66660 ¤³¤ì¤«¤é¡¢Àé¤Î°Ì¤¬0¤Ë¤Ê¤ë°Ê²¼¤ÎÎã³°¤ò°ú¤¯ 0523 0532 0514 0541 ----- 2110 66660-2110¡á64550 // |
¡¡¡¡
6·î11Æü¡ÊÌÚ¡Ë 0:25:41¡¡¡¡
¡¡¡¡49208 |
º£Ç¯¤«¤é¹âÎð¼Ô |
5¤Ë¤Ê¤ë¤Î¤Ï¡¢0+5,1+4,2+3¤Ê¤Î¤Ç¡¢¤³¤Î¤¦¤Á¤Î2ÁȤò»È¤¦»ö¤Ë¤Ê¤ë¡£
ºÇÂç·å¤Ë0¤òµö¤»¤Ð¡¢Á´¤Æ¤Î·å¤Ë¡¢0¡Á5¤Þ¤Ç¤¬4²ó¤º¤Ä¸½¤ì¤ë¡£ 1111*(1+2+3+4+5)*4=66660 ¾å2·å¤¬05¤Î¾ì¹ç¡Ê3·å¤Î¾ì¹ç¡Ë¡¢0514¡Ü0541¡Ü0523¡Ü0532=2110 ¤³¤ì¤ò°ú¤¤¤Æ¡¢66660-2110=64550 |
¡¡¡¡
6·î11Æü¡ÊÌÚ¡Ë 0:32:33¡¡¡¡
¡¡¡¡49209 |
¤ª¤¹¤Þ¤ó |
ÄÁ¤·¤¯£±È¯¤Ç¤ÏÆþ¤ì¤Þ¤·¤¿¢ö |
somewhere in the world¡¡¡¡
6·î11Æü¡ÊÌÚ¡Ë 0:42:38¡¡¡¡
¡¡¡¡49210 |
¤ª¤¹¤Þ¤ó |
¡ôµ»ö¤ÎÄûÀµ¤Ï¤Þ¤À¤Ç¤¤Ê¤¤¤Î¤Ç¤¹¤Í¡Äorz
ÃÙ¤ì¤Ð¤»¤Ê¤¬¤é¡¢¥Þ¥µ¥ë¤µ¤ó¡¢¥«¥ì¡¼²°¤µ¤ó¤Î¤´³«Å¹¡¢ ¤ª¤á¤Ç¤È¤¦¤´¤¶¤¤¤Þ¤¹¡ª¡¡Â¸µ¥Ð¥¿¥Ð¥¿¤·¤Æ¤ª¤ê¤Þ¤¹¤¬¡¢ Íî¤ÁÃ夤¤¿¤éɬ¤º¿©¤Ù¤Ë»Ç¤¤¤Þ¤¹¡ª¡ª |
somewhere in the world¡¡¡¡
6·î11Æü¡ÊÌÚ¡Ë 0:45:21¡¡¡¡
¡¡¡¡49211 |
¥¢¥ë¥Õ¥¡¡¦¥±¥ó¥¿¥¦¥ê |
¤È¤ê¤¢¤¨¤º¤·¤é¤ß¤Ä¤Ö¤·¤Ë¤ä¤Ã¤Æ¤¤¤¯¤È¡¢
1405¡¡1423¡¡1432¡¡1450 2305¡¡2314¡¡2341¡¡2350 3205¡¡3214¡¡3241¡¡3250 4105¡¡4123¡¡4132¡¡4150 5014¡¡5023¡¡5032¡¡5041 ¤È¤Ê¤ê¤Þ¤·¤¿¡£ ¤³¤³¤Ç¾å2·å¤¬14¤Î¾ì¹ç¡¢²¼2·å¤Î¿ô¤ÎϤ¬110¤Ç¡¢¤½¤ì¤¬£µ¥°¥ë¡¼¥×¤¢¤ë¤Î¤Ç 110¡ß£µ¡á550 ¤½¤ì¤Ë¾å£²¤±¤¿¤Î 14+23+32+41+50=160 160¡ß4=640 640¤Ë00¤ò¤·¤Æ64000 64000+550=64550¡¡¡¡¡¡¡¡¡ÊÅú¤¨¡Ë¡Ä64550 |
¡¡¡¡
6·î11Æü¡ÊÌÚ¡Ë 0:51:10¡¡¡¡
¡¡¡¡49212 |
¥¢¥ë¥Õ¥¡¡¦¥±¥ó¥¿¥¦¥ê |
¤È¤ê¤¢¤¨¤º¤·¤é¤ß¤Ä¤Ö¤·¤Ë¤ä¤Ã¤Æ¤¤¤¯¤È¡¢
1405¡¡1423¡¡1432¡¡1450 2305¡¡2314¡¡2341¡¡2350 3205¡¡3214¡¡3241¡¡3250 4105¡¡4123¡¡4132¡¡4150 5014¡¡5023¡¡5032¡¡5041 ¤È¤Ê¤ê¤Þ¤·¤¿¡£ ¤³¤³¤Ç¾å2·å¤¬14¤Î¾ì¹ç¡¢²¼2·å¤Î¿ô¤ÎϤ¬110¤Ç¡¢¤½¤ì¤¬£µ¥°¥ë¡¼¥×¤¢¤ë¤Î¤Ç 110¡ß£µ¡á550 ¤½¤ì¤Ë¾å£²¤±¤¿¤Î 14+23+32+41+50=160 160¡ß4=640 640¤Ë00¤ò¤·¤Æ64000 64000+550=64550¡¡¡¡¡¡¡¡¡ÊÅú¤¨¡Ë¡Ä64550 |
¡¡¡¡
6·î11Æü¡ÊÌÚ¡Ë 0:51:54¡¡¡¡
¡¡¡¡49213 |
¤ß¤«¤ó |
¤¿¤«¤À¤«£²£°Ä̤ê¤Ê¤Î¤Ç¡¢¶ñÂÎŪ¤Ê¿ô¤ò½ñ¤½Ð¤·¤Æ¤«¤é¹Í¤¨¤¿Êý¤¬
ʬ¤«¤ê¤ä¤¹¤½¤¦¤Ç¤¹¡£¹©Éפ¹¤ì¤Ð·×»»¤¬³Ú¤Ë¤Ê¤ë¤«¤È»×¤Ã¤¿¤Î¤Ç¤¹¤¬¡¢ µÞ¤¬¤Ð²ó¤ì¤Ç¤·¤¿¡£ |
¡¡¡¡
6·î11Æü¡ÊÌÚ¡Ë 1:06:21¡¡¡¡
¡¡¡¡49214 |
SECOND |
!½½¿ÊBASIC ¤Ç¡¢µ¡³£·×»»¡£¤´¤á¤ó¡£
DIM a(6) MAT READ a DATA 0,1,2,3,4,5 CALL perm20(1) SUB perm20(k) local i IF k<=4 THEN FOR i=k TO 6 swap a(k),a(i) CALL perm20(k+1) swap a(k),a(i) NEXT i !--- ¸Ä¡¹¤Î½çÎó P(6,4) --- ELSEIF a(1)<>0 AND a(1)+a(2)=5 AND a(3)+a(4)=5 THEN LET w=a(1)*1000+a(2)*100+a(3)*10+a(4) LET ww=ww+w LET n=n+1 PRINT USING "! ##) ####¡¡·× #####" :n,w,ww END IF END SUB |
¡¡¡¡
6·î11Æü¡ÊÌÚ¡Ë 1:11:52¡¡¡¡
¡¡¡¡49215 |
¡Ö¿ô³Ø¡×¾®Î¹¹Ô |
ºÇ½é¡¢2Çܤ¹¤ë¤Î¤ò¼ºÇ°¤·¤Þ¤·¤¿¡£ |
¡¡¡¡
6·î11Æü¡ÊÌÚ¡Ë 1:59:11¡¡¡¡
¡¡¡¡49216 |
¥´¥ó¤È¤â |
#49199,#49200
Åú¤¨¤À¤±¤Ç²òË¡¤¬½ñ¤¤¤Æ¤Ê¤«¤Ã¤¿¤Î¤Ç¡¦¡¦¡¦ ºÂɸ¤ÇA(0,sqrt(3)/2),B(-1/2,0),C(1/2,0) ľÀþBB1:y=tan(%pi/15)*(x+1/2) ľÀþAA1:y=tan(%pi/3+%pi/15)*x+sqrt(3)/2 ľÀþCC1:y=-tan(%pi/3-%pi/15)*(x-1/2) ¤È¤¹¤ë¤È ÂоÎÀ¤è¤ê¢¤PQR¤ÏÀµ»°³Ñ·Á¤è¤ê ¢¤ABC:¢¤PQR=1:PQ^2=sqrt(3)/4:¢¤PQR¡¦¡¦¡¦¡¦¡¦¡¦(1) ¤ÇPQ^2¤òµá¤á¤ì¤ÐÅú¤¨¤Î¢¤PQR¤¬µá¤á¤é¤ì »°Ê¿Êý¤ÇPQ^2¤Ï¡¡Maxima ¤Ç part(solve([y=tan(%pi/15)*(x+1/2),y=tan(%pi/3+%pi/15)*x+sqrt(3)/2],[x,y]),1)$ part(solve([y=tan(%pi/15)*(x+1/2),y=-tan(%pi/3-%pi/15)*(x-1/2)],[x,y]),1)$ factor(trigreduce(trigsimp(factor((rhs(part(%o1,1))-rhs(part(%o2,1)))^2+(rhs(part(%o1,2))-rhs(part(%o2,2)))^2)))); -4*(cos(6*%pi/5)+4*cos(4*%pi/5)-sqrt(3)*sin(8*%pi/15)-cos(8*%pi/15)-sqrt(3)*sin(2*%pi/15)-cos(2*%pi/15)+9) /(cos(8*%pi/5)+cos(14*%pi/15)+cos(4*%pi/15)-18)¡¡¤³¤ì¤Ï cos(6*%pi/5)=cos(4*%pi/5)=-cos(36ÅÙ) -sqrt(3)*sin(8*%pi/15)-cos(8*%pi/15)=-2*sin(126ÅÙ)=-2*cos(36ÅÙ) -sqrt(3)*sin(2*%pi/15)-cos(2*%pi/15)=-2*sin(54ÅÙ)=-2*cos(36ÅÙ) ÏÂÀѤθø¼°¤è¤êcos(14*%pi/15)+cos(4*%pi/15)=-cos(72ÅÙ) cos(8*%pi/5)=cos(72ÅÙ) ¤è¤ê 2*(9-9*cos(36ÅÙ))/9=2*(1-cos(36ÅÙ))¡¡¤Ç ¤³¤³¤Çcos(5*36ÅÙ)==cos(180ÅÙ)-1 ¤Ê¤Î¤ÇÇܳѤθø¼°¤è¤ê 16*cos(a)^5-20*cos(a)^3+5*cos(a)+1=(cos(a)+1)*(4*cos(a)^2-2*cos(a)-1)^2 ¤Çcos(36ÅÙ)=(sqrt(5)+1)/4 2*(1-cos(36ÅÙ))=(3-sqrt(5))/2 ¤³¤ì¤È(1)¤È¤è¤ê ¢¤PQR=sqrt(3)*(3-sqrt(5))/8¡¦¡¦¡¦¡¦¡¦¡¦(Åú¤¨) ¤¢¤Èsin(18ÅÙ)¤Ï¤½¤Î3¤Ï¡¡Maxima ¤Ç trigexpand(sin(5*a))$factor(trigsimp(%-1))$rhs(part(solve(%,sin(a)),2));(sqrt(5)-1)/4 ¤¤¤Ä¤âÌäÂê¤Î½ÐÂꤢ¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹! |
ËÀî»Ô¡¡¡¡
6·î11Æü¡ÊÌÚ¡Ë 2:22:22¡¡¡¡
MAIL:fttnm528@ybb.ne.jp ¡¡¡¡49217 |
¤Ë¤³¤¿¤ó |
·×»»¤·¤Þ¤·¤¿¡£ |
Ķ¤ÉÅļˡ¡¡¡
6·î11Æü¡ÊÌÚ¡Ë 4:45:57¡¡¡¡
HomePage:¤¤Þ¤Þ¤Ë¡¡¡¡49218 |
·ßòÉ(Keigei) |
¾å£²·å¤¬ 14¡¤23¡¤32¡¤41¡¤50 ¤Ç¡¢²¼£²·å¤¬ 05¡¤14¡¤23¡¤32¡¤41¡¤50 ¡¢
¾å£²·å¤ËÂФ·¤Æ²¼£²·å¤¬£´Ä̤ꤺ¤Ä¤¢¤ê¡¢¾ò·ï¤Ë¹ç¤¦¿ô¤¬ 20¸Ä¡¢ ¾å£²·å¤ÎÊ¿¶Ñ¤¬ 32¡¤²¼£²·å¤ÎÊ¿¶Ñ¤¬ 27.5 ¤À¤«¤é¡¢ 3227.5¡ß20¡á64550 ¤Ç¤¹¡£ |
¡¡¡¡
6·î11Æü¡ÊÌÚ¡Ë 4:54:13¡¡¡¡
¡¡¡¡49219 |
¹«¤ÎÌ´ |
²¿²ó¤ä¤Ã¤Æ¤âÆþ¤ì¤Ê¤¤¡¢²¿¸Î¡¢¤º¤Ã¤ÈǺ¤ó¤Ç¤ª¤ê¤Þ¤·¤¿¡£
¤½¤Î´Ö¤Ë¸íÅú¤ò£³²ó¤âÁ÷¤Ã¤Æ¤·¤Þ¤¤¡¦¡¦¡¦¡¦¡¢²¿µ¤¤Ê¤¯ ÌäÂê¤òÆɤßľ¤¹¤È¡¢5¤Î¤ß¤ÇÎɤ«¤Ã¤¿¤Î¤Ç¤¹¤Í¡£ £¶¤È7¤Î¾ì¹ç¤â·×»»¤·¤Æ¤ª¤ê¤Þ¤·¤¿¡£ ËÜÅö¤ËÂÌÌܤʻä¤Ç¤·¤¿¡£ |
¿¿Çò¤ÉٻΤÎÎæ¡¡¡¡
6·î11Æü¡ÊÌÚ¡Ë 7:53:10¡¡¡¡
¡¡¡¡49220 |
¥¢¥ë¥Õ¥¡¡¦¥±¥ó¥¿¥¦¥ê |
#49212 #49213
¤¹¤ß¤Þ¤»¤ó¡£ ¥³¥á¥ó¥È¤¬2²óÁ÷¤é¤ì¤¿¤ß¤¿¤¤¤Ç¡Ä¡Ê¤Ê¤¼¤À¤í¤¦¡©¡Ë |
¡¡¡¡
6·î11Æü¡ÊÌÚ¡Ë 9:31:19¡¡¡¡
¡¡¡¡49221 |
¥¢¥ë¥Õ¥¡¡¦¥±¥ó¥¿¥¦¥ê |
#49212 #49213
¤¹¤ß¤Þ¤»¤ó¡£ ¥³¥á¥ó¥È¤¬2²óÁ÷¤é¤ì¤¿¤ß¤¿¤¤¤Ç¡Ä¡Ê¤Ê¤¼¤À¤í¤¦¡©¡Ë |
¡¡¡¡
6·î11Æü¡ÊÌÚ¡Ë 9:31:56¡¡¡¡
¡¡¡¡49222 |
¥¢¥ë¥Õ¥¡¡¦¥±¥ó¥¿¥¦¥ê |
#49212 #49213
¤¹¤ß¤Þ¤»¤ó¡£ ¥³¥á¥ó¥È¤¬2²óÁ÷¤é¤ì¤¿¤ß¤¿¤¤¤Ç¡Ä¡Ê¤Ê¤¼¤À¤í¤¦¡©¡Ë |
¡¡¡¡
6·î11Æü¡ÊÌÚ¡Ë 9:32:00¡¡¡¡
¡¡¡¡49223 |
Mr.¥À¥ó¥Ç¥£ |
º£Ç¯¤«¤é¹âÎð¼ÔÍͤΠ#49209
¤È¡¡¤Þ¤Ã¤¿¤¯Æ±Íͤˤ·¤Þ¤·¤¿¡£ ºòÌë¤Ï¡¡³Ú¤·¤ß¤Ë¤·¤Æ¤¤¤Ê¤¬¤é¤â¡¢Ä¾Á°¤Ë¿²¤Æ¤·¤Þ¤¤¤Þ¤·¤¿¡£ ¡Ê¹¥¤ß¤Î¥¿¥¤¥×¤ÎÌäÂê¤À¤±¤Ë¡¡Ì¤¦¤³¤È¤Ê¤¯²ò¤±¤Þ¤·¤¿¡Ë |
¡¡¡¡
6·î11Æü¡ÊÌÚ¡Ë 10:13:07¡¡¡¡
¡¡¡¡49224 |
SECOND |
#49223 ¥¢¥ë¥Õ¥¡¡¦¥±¥ó¥¿¥¦¥ê¤µ¤ó¡¢µ»ö¤ò¡Ö¥¯¥ê¥¢¡×¤·¤Ê¤¤¤Þ¤Þ¡¢¥Ö¥é¥¦¥¶¤Î¡Ö¹¹¿·¡×¤ò²¡¤¹¤«¤é¤Ç¡¢¤³¤Î¥Ú¡¼¥¸¤Î¡Ö¥Ú¡¼¥¸¹¹¿·¡×¤ò»È¤¦¤ÈËɤ²¤Þ¤¹¡£
¤Þ¤À¡¢ÄûÀµ¡¦ºï½ü¤¬¡¢»È¤¨¤Ê¤¤¤Ç¤¹¤Í¡¦¡¦ |
¡¡¡¡
6·î11Æü¡ÊÌÚ¡Ë 11:57:06¡¡¡¡
¡¡¡¡49225 |
¥¢¥ë¥Õ¥¡¡¦¥±¥ó¥¿¥¦¥ê |
#49225¡¡SECOND¤µ¤ó
¤½¤¦¤¤¤¦¤³¤È¤Ê¤ó¤Ç¤¹¤Í¡£¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£ ½ñ¤¹þ¤ßµ»ö¤Îºï½ü¤Î¥Ñ¥¹¥ï¡¼¥É¤Î°ÕÌ£¤¬¤É¤¦¤âʬ¤«¤é¤Ê¤¤¤ó¤Ç¤¹¡£ ¥Ñ¥¹¥ï¡¼¥É¤ÎÀßÄê²èÌ̤ò³«¤é¤¤¤¿¤é¤Ø¤ó¤Ê²èÌ̤¬½Ð¤Æ¤¯¤ë¤Î¤Ç¡Ä |
¡¡¡¡
6·î11Æü¡ÊÌÚ¡Ë 12:50:40¡¡¡¡
¡¡¡¡49226 |
¥¹¥â¡¼¥¯¥Þ¥ó |
²¿²ó¤â¤Ê¤¼¤«¤·¤é´Ö°ã¤¨¤Æ¤¿¤è¤¦¤Ç...¤ä¤Ã¤È¤³¤µ ^^;;
5555*12-1055*2=64550 |
¡¡¡¡
6·î11Æü¡ÊÌÚ¡Ë 13:58:28¡¡¡¡
¡¡¡¡49227 |
¤Ò¤í¤¤Ç¡¼¤¹ |
½ñ¤½Ð¤·¤ÆÅÅÂî¤ÇÊÒ¤Ãü¤«¤éÂǤÁ¹þ¤ó¤À¡Ê¾Ð¡Ë |
¡¡¡¡
6·î12Æü¡Ê¶â¡Ë 8:31:44¡¡¡¡
¡¡¡¡49228 |
¤Ò¤í¤¤Ç¡¼¤¹ |
sodo¤µ¤ó¡¡¤³¤Î¿Í¤·¤å¤´¤¤
|
¡¡¡¡
6·î12Æü¡Ê¶â¡Ë 10:49:49¡¡¡¡
¡¡¡¡49229 |
¤Ò¤í¤¤Ç¡¼¤¹ |
¥¢¥ë¥Õ¥¡¡¦¥±¥ó¥¿¥¦¥ê¤µ¤ó¡ª¡ª¡¡Æ±¤¸¤Ç¤¹¡ª¡ª |
¡¡¡¡
6·î12Æü¡Ê¶â¡Ë 11:52:24¡¡¡¡
¡¡¡¡49230 |
M |
¤Þ¤¿¤Þ¤¿python¤Ç·×»»
import random def get_unique_list(seq): seen = [] return [x for x in seq if x not in seen and not seen.append(x)] final_score =0 answer =[] for i in range (10000): l = [0,1,2,3,4,5] a = random.sample(l, 2) #print (a[0]) l2 = list (set(l)-set(a)) b = random.sample(l2,2) if a[0] != 0 and a[0] + a[1] == 5 and b[0] + b[1] == 5: a.extend(b) answer.append(a) final_answer = get_unique_list(answer) #print (final_answer) for i in final_answer: score = i[0]*1000+i[1]*100+i[2]*10 + i[3] final_score += score print (final_score) |
¡¡¡¡
6·î13Æü¡ÊÅÚ¡Ë 9:41:34¡¡¡¡
¡¡¡¡49231 |
¤Þ¤ë¥±¥ó |
ruby version2.6 ¤Ç¤Î¥ï¥ó¥é¥¤¥Ê¡¼¤Ç¤¹¡£ÄɲäˤʤäƤ¤¤¿À°¿ôÇÛÎó¤ÎϤòµá¤á¤ë¥á¥½¥Ã¥É¤ò»È¤Ã¤Æ¤ß¤Þ¤·¤¿¡£
p (0..5).to_a.permutation(4).to_a.map{|a|(a[0]>0&&a[0]+a[1]==5&&a[2]+a[3]==5)?(a.join.to_i):0}.sum |
¡¡¡¡
6·î13Æü¡ÊÅÚ¡Ë 19:22:19¡¡¡¡
¡¡¡¡49232 |
¤Þ¤ë¥±¥ó |
¥Þ¥ê¡¼¥À¥«¥ì¡¼¡¢¥°¥é¥ó¥É¥ª¡¼¥×¥ó¤ÎÆü¤Ë¼«Å¾¼Ö¤Ç¶î¤±ÉÕ¤±¡¢¥Æ¥¤¥¯¥¢¥¦¥È¤·¤Æ¤¤¤¿¤À¤¤Þ¤·¤¿¡£
Âè°ì°õ¾Ý¤Ï¡Ö¤È¤Æ¤â¤ä¤µ¤·¤¤Ì£¡× ¿É¤¤¤â¤Î¤òÁÛÁü¤·¤Æ¤¤¤Þ¤·¤¿¤¬¡¢¤¿¤Ã¤×¤ê¤ÊÌîºÚ¤«¤é¤Î´ÅÌ£¤¹¤é´¶¤¸¤Þ¤·¤¿¡£ ±öʬ¹µ¤¨¤á¤Ê´¶¤¸¤Ç¤¹¤¬¥¹¥Ñ¥¤¥¹¤Î¤ª¤«¤²¤«¤ÇÁ´¤¯ÌäÂê¤Ê¤·¡£¤È¤Æ¤â¤ª¤¤¤·¤«¤Ã¤¿¤Ç¤¹¡£ ¥Æ¥¤¥¯¥¢¥¦¥È¤ÎÍÆ´ï¤Ï»æÀ½¤À¤È»×¤¦¤Î¤Ç¤¹¤¬¡¢Æó½Å¹½Â¤¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤è¤¦¤Ç¡¢²È¤Þ¤Ç30ʬ¤¯¤é¤¤¤«¤«¤Ã¤Á¤ã¤¤¤Þ¤·¤¿¤¬²¹¤«¤¤¤Þ¤Þ¤Ç¤¤¤¿¤À¤±¤Þ¤·¤¿¡£ ¿É¤¤¤Î¤¬¹¥¤¤Ê¤é¤È¥Ï¥Ð¥Í¥í¤Î¥½¡¼¥¹¤òÉÕ¤±¤Æ¤¯¤ì¤¿¤Î¤ÇÅÓÃæ¤ÇÌ£ÊÑ¡£ ¥¹¥Ñ¥¤¥¹¤Î¤Õ¤ê¤«¤±¡©¤âÉÕ¤±¤Æ¤¯¤ì¤¿¤±¤É¡¢»È¤¤¤¤ì¤Ê¤«¤Ã¤¿¤Î¤Ç¡¢º£ÅÙ²¿¤«¤Ë»È¤Ã¤Æ¤ß¤è¤¦¤«¤Ê¡£ ¤Þ¤¿¶á¤¤¤¦¤Á¤Ë¹Ô¤Ã¤Æ¤ß¤¿¤¤¤Ç¤¹¡£ |
¡¡¡¡
6·î13Æü¡ÊÅÚ¡Ë 19:37:37¡¡¡¡
¡¡¡¡49233 |
C¡¼¤Þ¤¦¤¹ |
º£²ó¤ÎÌäÂê¤ÏÆñ¤·¤¤¡Ä |
¡¡¡¡
6·î13Æü¡ÊÅÚ¡Ë 22:48:59¡¡¡¡
¡¡¡¡49234 |
£ó |
5555*12-1055*2=64550¤Ç·×»»¤·¤Þ¤·¤¿¡£ |
¡¡¡¡
6·î14Æü¡ÊÆü¡Ë 21:40:53¡¡¡¡
¡¡¡¡49235 |