¥Ù¥ë¥¯¡¦¥«¥Ã¥Ä¥§ |
2¤¬1ÈÖÌܤ˽ñ¤«¤ì¤ë¾ì¹ç
22¡ß¡ß¡¡36Ä̤ê 211¡ß¡¡6Ä̤ê 2¤¬2ÈÖÌܤ˽ñ¤«¤ì¤ë¾ì¹ç 112¡ß¡¡6Ä̤ê 1111¡¡1ÄÌ¤ê ¹ç·×49Ä̤ê¤Ç¤¹¡£ |
¡¡¡¡
4·î28Æü¡ÊÌÚ¡Ë 0:06:29¡¡¡¡
¡¡¡¡51461 |
»ç¤Îé¬é¯¤Î¿Í |
¼ù·Á¿Þ¤òÉÁ¤¤¤Æ½ª¤ï¤ê¤Ç¤¹¡£
£±¡Ý£±¡Ý£±¡Ý£± ¡¡¡¡¡¡¡Ü£²¡Ý¡ö £²¡Ý£±¡Ý£±¡Ý¡ö ¡¡¡Ü£²¡Ý¡ö¡Ý¡ö 1+6+6+36¡á49Ä̤ê |
¡¡¡¡
4·î28Æü¡ÊÌÚ¡Ë 0:08:10¡¡¡¡
¡¡¡¡51462 |
¤ß¤«¤ó |
µÏ¿Íѻ桽¤µ¤¤¤³¤í¤ÎÌÜ¡¡¤ÎÂбþ¤òÀ°Íý¡£ÌäÂêʸ¤ÎÎã¤Ê¤é
£²¡¢£µ¡¢£±£°¡¢£±£±¡½£²¡¢£³¡¢£µ¡¢£±¡¡¤Èɽ¤¹¡£ µÏ¿ÍÑ»æ¤Ë£²¤È£´¤¬½Ð¤ë¤Î¤Ï°Ê²¼¤Î¥Ñ¥¿¡¼¥ó¡£¡Ö¤½¤ì¤Þ¤Ç¤Ë½Ð¤¿Ï¡פεϿ¤À¤«¤é¡¢ £²¤è¤ê£´¤¬±¦¤Ë¤Ê¤ë¡£ £²¡¢£´¡¢¢¢¡¢¢¢¡½£²¡¢£²¡¢¡©¡¢¡©¡¡¢ª£¶¡ß£¶¡á£³£¶ÄÌ¤ê £²¡¢¢¢¡¢£´¡¢¢¢¡½£²¡¢£±¡¢£±¡¢¡©¡¡¢ª£¶ÄÌ¤ê ¢¢¡¢£²¡¢£´¡¢¢¢¡½£±¡¢£±¡¢£²¡¢¡©¡¡¢ª£¶ÄÌ¤ê £²¡¢¢¢¡¢¢¢¡¢£´¡¡¢ªÉԲġʵϿÍÑ»æ¤Î£±¤Ä¤á¤¬£²¤Î¤È¤¡¢£´¤Ä¤á¤ÏºÇÄã¤Ç¤â£µ¤Ë¤Ê¤ë¤¿¤á¡Ë ¢¢¡¢£²¡¢¢¢¡¢£´¡½£±¡¢£±¡¢£±¡¢£±¡¡¢ª£±¤¬£´¤Ä¤Î¤ß¤Î£±ÄÌ¤ê ¢¢¡¢¢¢¡¢£²¡¢£´¡¡¢ªÉԲġʵϿÍÑ»æ¤Î£³¤Ä¤á¤ÏºÇÄã¤Ç¤â£³¤Ë¤Ê¤ë¤¿¤á¡Ë °Ê¾å¤è¤ê¡¢£³£¶¡Ü£¶¡Ü£¶¡Ü£±¡á£´£¹Ä̤ꡡ¤¬Åú¤¨¡£ ¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý º£²ó¤Ï³Ú¾¡¤¸¤ã¤ó¤È»×¤Ã¤Æ¤¤¤¿¤é¡¢Â¤·»»¤ò´Ö°ã¤¨¤Æ¤¤¤Þ¤·¤¿¡£ °×¤·¤½¤¦¤ÊÌäÂê¤Î¤È¤¤³¤½¿µ½Å¤µ¤ò»ý¤Á¤¿¤¤¤â¤Î¤Ç¤¹¡£ |
¡¡¡¡
4·î28Æü¡ÊÌÚ¡Ë 0:47:18¡¡¡¡
¡¡¡¡51463 |
¡Ö¿ô³Ø¡×¾®Î¹¹Ô |
£±¡Ü£¶¡Ü£¶¡Ü£³£¶¤È¤Ê¤ê¤Þ¤·¤¿¡£ |
¡¡¡¡
4·î28Æü¡ÊÌÚ¡Ë 4:01:30¡¡¡¡
¡¡¡¡51464 |
¡Ö¿ô³Ø¡×¾®Î¹¹Ô |
Àµ²ò¼Ô°ìÍ÷¤Îɽ¤Î²¼¤ÎÆü»þɽ¼¨¤¬ÊѤǤ¹¡£¸½»þÅÀ¤Ç¡¢
>°Ê¾å¤ÎÊý¤¬£´·î£²£·Æü¸á¸å9»þ£±£¶Ê¬¸½ºß¤ÎÀµ²ò¼Ô¤Ç¤¹¡£ |
¡¡¡¡
4·î28Æü¡ÊÌÚ¡Ë 4:10:30¡¡¡¡
¡¡¡¡51465 |
¡Ö¿ô³Ø¡×¾®Î¹¹Ô |
£Ò£õ£â£ù¥×¥í¥°¥é¥à¤Ç¤¹¡£
p (1..6).to_a.repeated_permutation(4).map{|x|s=0;x.map{|y|s=s+y}}.select{|z|z.include?(2)&z.include?(4)}.size ¤â¤Ã¤È´Êñ¤Ë¤Ê¤ë¤Î¤«¤Ê¤¡¡© |
¡¡¡¡
4·î28Æü¡ÊÌÚ¡Ë 6:38:04¡¡¡¡
¡¡¡¡51466 |
ºÇ¸å¤Î¼êÉÁ¤¿ÞÌÌ¿¦¿Í |
¥Ñ¥¤¥½¥ó¥×¥í¥°¥é¥à¤òºî¤ê²ò¤¤¤Æ¤ß¤Þ¤·¤¿¡£¥×¥í¥°¥é¥à¤Ï
added=[] b=[] sum=0 for i in range(1,7): ¡¡¡¡for j in range(1,7): ¡¡¡¡¡¡¡¡for k in range(1,7): ¡¡¡¡¡¡¡¡¡¡¡¡for l in range(1,7): ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡a=[i,i+j,i+j+k,i+j+k+l] ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡added.append(a) print(added) print(len(added)) for m in range(len(added)): ¡¡¡¡c0=str(added[m][0]) ¡¡¡¡c1=str(added[m][1]) ¡¡¡¡c2=str(added[m][2]) ¡¡¡¡c3=str(added[m][3]) ¡¡¡¡b.append([c0,c1,c2,c3]) print(b) print(len(b)) for n in range(len(added)): ¡¡¡¡if (b[n][0]=='2' or b[n][1]=='2' or b[n][2]=='2' or b[n][3]=='2') and (b[n][0]=='4' or b[n][1]=='4' or b[n][2]=='4' or b[n][3]=='4'): ¡¡¡¡sum=sum+1 print('Åú¤¨=',sum) |
¡¡¡¡
4·î28Æü¡ÊÌÚ¡Ë 15:07:25¡¡¡¡
MAIL:syokyuhsya@gmail.com ¡¡¡¡51467 |
¥´¥ó¤È¤â |
½½¿ÊBasic ¤Ç
for a=1 to 6 for b=1 to 6 let a1=a+b for c=1 to 6 let a2=a+b+c for d=1 to 6 let a3=a+b+c+d if a=2 and a1=4 then let s1=s1+1 if a=2 and a2=4 then let s2=s2+1 if a1=2 and a2=4 then let s3=s3+1 if a1=2 and a3=4 then let s4=s4+1 next d next c next b next a print s1;"+";s2;"+";s3;"+";s4;"=";s1+s2+s3+s4 end f9²¡¤·¤Æ¡¡36+6+6+1=49¡¦¡¦¡¦¡¦¡¦¡¦(Åú¤¨) |
¡¡¡¡
4·î28Æü¡ÊÌÚ¡Ë 17:29:59¡¡¡¡
¡¡¡¡51468 |
ºÇ¸å¤Î¼êÉÁ¤¿ÞÌÌ¿¦¿Í |
ÌäÂê¤ÎÄ̤ê¤Ë¡¢¥×¥í¥°¥é¥à¤·¤Æ¤ß¤Þ¤·¤¿¡£ |
¡¡¡¡
4·î28Æü¡ÊÌÚ¡Ë 18:30:08¡¡¡¡
MAIL:syokyuhsya@gmail,com ¡¡¡¡51469 |
ºÇ¸å¤Î¼êÉÁ¤¿ÞÌÌ¿¦¿Í |
¥×¥í¥°¥é¥à¤ËÉÔÍפÊÉôʬ¤¬¤¢¤Ã¤¿¤Î¤ÇÊѹ¹¤·¤Þ¤¹¡£
added=[] sum=0 for i in range(1,7): ¡¡¡¡for j in range(1,7): ¡¡¡¡¡¡¡¡for k in range(1,7): ¡¡¡¡¡¡¡¡¡¡¡¡a=[i,i+j,i+j+k,i+j+k+l] ¡¡¡¡¡¡¡¡¡¡¡¡added.append(a) print(added) for m in range(len(added)): ¡¡¡¡if (added[m][0]==2 or added[m][1]==2 or added[m][2]==2 or added[m][3]==2) and (added[m][0]==4 or added[m][1]==4 or added[m][2]==4 or added[m][3]==4): ¡¡¡¡sum=sum+1 print('Åú¤¨=',sum) |
¡¡¡¡
4·î29Æü¡Ê¶â¡Ë 8:50:27¡¡¡¡
MAIL:syokyuhsya@gmail.com ¡¡¡¡51470 |
¡Ö¿ô³Ø¡×¾®Î¹¹Ô |
£Ò£õ£â£ù¥×¥í¥°¥é¥à¤Ç¤¹¤¬¡¢ÉáÄ̤Îή¤ì¤Ç½ñ¤¯¤È
c=0 for i in 1..6 ¡¡¡¡for j in 1..6 ¡¡¡¡¡¡¡¡for k in 1..6 ¡¡¡¡¡¡¡¡¡¡¡¡for l in 1..6 ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡x=i+j;y=x+k;z=y+l ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡if i==1 then ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡if x==2 then ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡if y==3 then ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡if z==4 then ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡c+=1 ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡end ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡elsif y==4 then ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡c+=1 ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡end ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡end ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡elsif i==2 ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡if x==3 then ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡if y==4 then ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡c+=1 ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡end ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡elsif x==4 ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡c+=1 ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡end ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡end ¡¡¡¡¡¡¡¡¡¡¡¡end ¡¡¡¡¡¡¡¡end ¡¡¡¡end end p c |
¡¡¡¡
4·î29Æü¡Ê¶â¡Ë 16:54:20¡¡¡¡
¡¡¡¡51471 |
ÃæDA |
ÌäÂ꤬°×¤·¤¯¤Ê¤ê¤Þ¤·¤¿¤Í¡¢¡¢¡¢
ÃæÂÎÏ¢🏓»ÔÂç²ñ¤òÆÍÇˤ·¡¢¸©Âç²ñ¤Ë½Ð¾ì¤·¤Þ¤¹! |
¡¡¡¡
4·î29Æü¡Ê¶â¡Ë 17:02:52¡¡¡¡
¡¡¡¡51472 |
ÃæDA |
ÂîµåÉô¤Ç¡¼¤¹ |
Å·³¦¡¡¡¡
4·î29Æü¡Ê¶â¡Ë 17:09:44¡¡¡¡
¡¡¡¡51473 |
¡Ö¿ô³Ø¡×¾®Î¹¹Ô |
£Ò£õ£â£ù¥×¥í¥°¥é¥à¤Ç¡¢²¼¤Î¤Ç¡¢Array¤Îmethod¤ò¤Ò¤È¤Äµö¤·¤Æ¤â¤é¤¦¤È¡¢
c=0 for i in 1..6 ¡¡¡¡for j in 1..6 ¡¡¡¡¡¡¡¡for k in 1..6 ¡¡¡¡¡¡¡¡¡¡¡¡for l in 1..6 ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡x=i+j;y=x+k;z=y+l ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡if [i,x,y,z].intersection([2,4])==[2,4] then c+=1 end ¡¡¡¡¡¡¡¡¡¡¡¡end ¡¡¡¡¡¡¡¡end ¡¡¡¡end end p c |
¡¡¡¡
4·î29Æü¡Ê¶â¡Ë 17:18:24¡¡¡¡
¡¡¡¡51474 |
Mr.¥À¥ó¥Ç¥£ |
Î㤨¤Ð¡¢6,6,1,1 ¤È½Ð¤ì¤Ð¡¡µÆþ¤µ¤ì¤ë¿ô¤Ï¡¡6,12,13,14
¤³¤Î¤È¤¡¡2¤â4¤âµÆþ¤µ¤ì¤Æ¤¤¤ë¡¡¤È¹Í¤¨¡¢¤³¤¦¤¤¤¦¾ì¹ç¤â¥«¥¦¥ó¥È¤·¤Æ¤¤¤¯¤â¤Î¤È²ò¼á¤·¤Æ·×»»¤·¤Æ¤ª¤ê¤Þ¤·¤¿¡£ ¤¹¤ë¤È¡¡ÂçÊѤʾì¹çʬ¤±¤¬À¸¤¸¡¡¶ìÀ路¤Æ¤¤¤¿¤È¤³¤í¡¢¤â¤·¤ä¡¦¡¦12,22,14,24 ¤Ê¤É¤Ï¥À¥á¤Ê¤Î¤«¤È¤¹¤ë¤È¡¡½Ö»þ¤Ë49Ä̤꤬½Ð¤Þ¤·¤¿¡£ ¤³¤¦¤¤¤¦²ò¼á¤ò¤·¤Æ¤¤¤¿¤Î¤Ï»ä¤À¤±¡¡¡©¡©¡©¡© |
¡¡¡¡
5·î2Æü¡Ê·î¡Ë 22:15:15¡¡¡¡
¡¡¡¡51475 |
SECOND |
µÆþ¤µ¤ì¤ë¿ô¤À¤±¤ò¸«¤ë¤È¡¢Ã±Ä´ÁýÂç¤Ç¡¢¡Ö£²¡×¡Ö£´¡×¤ÎʤӤϡ¢²¿ÈÖÌܤ«¤é»Ï¤Þ¤Ã¤Æ¤â¡¢24 ¤È¡¢234 ¤Î£²Ä̤ꡣ
£³ÈÖÌܰʾ夫¤é¤ÎʤӤϡ¢Í¤êÆÀ¤Ê¤¤¤Î¤Ç½ü¤¯¤È¡¢°Ê²¼¤Î£´Ä̤ꤷ¤«¤Ê¤¤¡£¥Ù¥ë¥¯¡¦¥«¥Ã¥Ä¥§¤µ¤ó¤ÈÁ´¤¯Æ±¤¸ #51461 24**¡¡¡¡¡¡¡Ö*¡×¤Ï¡¢¤½¤ì¤¾¤ì£¶Ä̤ꡣ 234* 124* 1234 |
¡¡¡¡
5·î3Æü¡Ê²Ð¡Ë 17:23:31¡¡¡¡
¡¡¡¡51476 |
ºÇ¸å¤Î¼êÉÁ¤¿ÞÌÌ¿¦¿Í |
#########################
##### ¥Ö¥í¥Ã¥¯Êø¤· ##### ######################### import tkinter as tk from tkinter import messagebox #¥¦¥¤¥ó¥É¥¦ win=tk.Tk() win.title("¥Ö¥í¥Ã¥¯Êø¤·") win.geometry("425x625") win.resizable(False,False) #¥¥ã¥ó¥Ð¥¹ can=tk.Canvas(bg="black",width=400,height=600) can.place(x=10,y=10) #¥²¡¼¥à¥ª¡¼¥Ð¡¼ def gameOver(): messagebox.showinfo("Information","GAME OVER!") exit() #¥²¡¼¥à¥¯¥ê¥¢ def gameClear(): messagebox.showinfo("Information","CONGRATULATIONS!!!!") exit() #¥Ü¡¼¥ë ball_x=50; ball_y=500; bx=5; by=-5 def drawBall(): global ball_x,ball_y,bx,by can.create_oval(ball_x,ball_y,ball_x+20,ball_y+20,fill="white") if ball_x<=0 or ball_x>=385: bx*=-1 if ball_y<=0: by*=-1 if ball_y>=603: gameOver() if ball_y>=560 and ball_x>=rack_x-10 and ball_x<=rack_x+50: by*=-1 ball_x+=bx;ball_y+=by #¥é¥±¥Ã¥È rack_x=170;keyPress_R=False;keyPress_L=False def rightKeyPress(event): global keyPress_R keyPress_R=True def rightKeyRelease(event): global keyPress_R keyPress_R=False def leftKeyPress(event): global keyPress_L keyPress_L=True def leftKeyRelease(event): global keyPress_L keyPress_L=False win.bind("<KeyPress-Right>",rightKeyPress) win.bind("<KeyRelease-Right>",rightKeyRelease) win.bind("<KeyPress-Left>",leftKeyPress) win.bind("<KeyRelease-Left>",leftKeyRelease) def drawRacket(): global rack_x can.create_rectangle(rack_x,580,rack_x+60,595,fill="white") if keyPress_R==True and rack_x<=350: rack_x+=5 if keyPress_L==True and rack_x>=-10: rack_x-=5 #¥Ö¥í¥Ã¥¯ block=[] for x in range(5): for y in range(4): block.append({"x":x*80+5,"y":y*40+10,"st":1}) def drawBlock(): global ball_x,ball_y,by block_count=0 for i in range(len(block)): x=block[i]["x"] y=block[i]["y"] st=block[i]["st"] if ball_y<=y+30 and ball_x>=x-10 and ball_x<=x+60 and st==1: by*=-1 block[i]["st"]=0 if st==1: can.create_rectangle(x,y,x+70,y+30,fill="white") block_count+=1 if block_count==0: gameClear() #ɽ¼¨¥ë¡¼¥× def gameLoop(): can.delete("all") drawBall() drawRacket() drawBlock() win.after(15,gameLoop) gameLoop() #¥¦¥¤¥ó¥É¥¦¥ë¡¼¥× win.mainloop() ¥³¥Ô¡¼Å½¤êÉÕ¤±¡¢½ÐÍè¤ë¤ó¤Ç¤¹¤Í¡£ |
¡¡¡¡
5·î4Æü¡Ê¿å¡Ë 9:09:46¡¡¡¡
¡¡¡¡51477 |