٥륯åĥ
21ܤ˽񤫤
22ߡߡ36̤
211ߡ6̤
22ܤ˽񤫤
112ߡ6̤
11111̤
49̤Ǥ
428ڡ 0:06:29 51461
鯤ο
ޤƽǤ

ݣݣݣ
ܣݡ

ݣݣݡ
ܣݡݡ

1+6+6+3649̤
428ڡ 0:08:10 51462
ߤ
Ͽѻ桽ܡбʸʤ
ɽ

ϿѻˣȣФΤϰʲΥѥ󡣡֤ޤǤ˽Ф¡פεϿ顢
ꣴˤʤ롣

ߣᣳ̤
̤
̤
ԲġʵϿѻΣĤ᤬ΤȤĤϺǤ⣵ˤʤ뤿
ĤΤߤΣ̤
ԲġʵϿѻΣĤϺǤ⣳ˤʤ뤿

ʾꡢܣܣܣᣴ̤ꡡ

ݡݡݡݡݡݡݡݡݡ
ϳھȻפäƤ顢­ְ㤨Ƥޤ
פΤȤŤΤǤ
428ڡ 0:47:18 51463
ֿء׾ι
ܣܣܣȤʤޤ
428ڡ 4:01:30 51464
ֿء׾ι
԰ɽβɽѤǤǡ
>ʾ9ʬߤԤǤ
428ڡ 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

äȴñˤʤΤʤ
428ڡ 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)
428ڡ 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()
428ڡ 17:29:59 51468
Ǹμ̿
̤ˡץषƤߤޤ
428ڡ 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)
429ʶ 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
429ʶ 16:54:20 51471
DA
꤬פʤޤ͡
Ϣ🏓ˤ˽о줷ޤ!
429ʶ 17:02:52 51472
DA
ǡ
ŷ 429ʶ 17:09:44 51473
ֿء׾ι
ңץǡΤǡArraymethodҤȤĵƤ餦ȡ

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
429ʶ 17:18:24 51474
Mr.ǥ
㤨С6,6,1,1 ȽФСϡ6,12,13,14

ΤȤ24⵭Ƥ롡ȹͤ⥫ȤƤΤȲᤷƷ׻Ƥޤ
ȡѤʾʬ路ƤȤ⤷䡦12,22,14,24
ʤɤϥʤΤȤȡֻ49̤꤬Фޤ

򤷤ƤΤϻ
52ʷ 22:15:15 51475
SECOND
򸫤ȡñĴǡ֣ס֣פ¤ӤϡܤϤޤäƤ⡢24 ȡ234 Σ̤ꡣ
ܰʾ夫¤ӤϡͭʤΤǽȡʲΣ̤ꤷʤ٥륯åĥƱ #51461

24***פϡ줾죶̤ꡣ
234*
124*
1234
53ʲС 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()
ԡŽդǤ͡
54ʿ 9:09:46 51477