EG
־ʤ1234˸ꤷơȤ߹碌24̤ꡤ
־ʤ¤ؤ24̤ʤΤǡ2424576Ȥޤ
ǤäƤΤǥߥޤä2Ƥޤޤ()
121ڡ 0:13:04 50026
٥륯åĥ
ܤη432124̤ꡣ
ܤ1234Τ褦2Ĥؤ硢ؤ3̤ǡܤ12ΤȤ34줫34ΤȤ12줫Τ224t̤ꡢä3412̤ꡣ
ܤ12341Τ褦ؤ硢ؤ3216̤ǡܤ2̤ʤΤ6212̤ꡣ
24ߡ12+12ˡ576̤ˤʤޤ
ǽ鸫Ȥ񤷤ʵޤܤؤξʬפƤߤ餦ޤޤ
121ڡ 0:14:23 50027
Ȥ
Baisc

abcd
efgh
ijkl

ȥե٥åȤ򿶤

for a=1 to 4
for b=1 to 4
for c=1 to 4
for d=1 to 4
if a+b+c+d<>10 or a*b*c*d<>24 then goto 90
for e=1 to 4
if e=a then goto 80
for f=1 to 4
if f=b then goto 70
for g=1 to 4
if g=c then goto 60
for h=1 to 4
if h=d then goto 50
if e+f+g+h<>10 or e*f*g*h<>24 then goto 50
for i=1 to 4
if i=a or i=e then goto 40
for j=1 to 4
if j=b or j=f then goto 30
for k=1 to 4
if k=c or k=g then goto 20
for l=1 to 4
if l=d or l=h then goto 10
if i+j+k+l<>10 or i*j*k*l<>24 then goto 10
let s=s+1
10 next l
20 next k
30 next j
40 next i
50 next h
60 next g
70 next f
80 next e
90 next d
100 next c
110 next b
120 next a
print s
end

f9 ơ576()
˭ԡ 121ڡ 0:18:45 MAIL:fttnm528@ybb.ne.jp 50028
ߤ뤯
1234
2???
3???
ޤǸꤷƤޤäƸ144ܤФΤ
144*4
121ڡ 0:31:04 50029
Ȥ
#50028

ְäƤʤݤֹ̤򿶤ץѤ

for a=1 to 4
for b=1 to 4
for c=1 to 4
for d=1 to 4
if a+b+c+d<>10 or a*b*c*d<>24 then goto 90
for e=1 to 4
if e=a then goto 80
for f=1 to 4
if f=b then goto 70
for g=1 to 4
if g=c then goto 60
for h=1 to 4
if h=d then goto 50
if e+f+g+h<>10 or e*f*g*h<>24 then goto 50
for i=1 to 4
if i=a or i=e then goto 40
for j=1 to 4
if j=b or j=f then goto 30
for k=1 to 4
if k=c or k=g then goto 20
for l=1 to 4
if l=d or l=h then goto 10
if i+j+k+l<>10 or i*j*k*l<>24 then goto 10
LET s=s+1
PRINT "No.";s
PRINT a;b;c;d
PRINT e;f;g;h
PRINT i;j;k;l
10 next l
20 next k
30 next j
40 next i
50 next h
60 next g
70 next f
80 next e
90 next d
100 next c
110 next b
120 next a
end

f9ơ576!!(ά)
˭ԡ 121ڡ 0:36:45 MAIL:fttnm528@ybb.ne.jp 50030
ǯ
⤦1䤹
䤷ԤϰŪ˷ޤ롣





Ԥ¤٤롲
¤٤롲
1Ԥä
*576
ʲǤɤΤʡ
121ڡ 1:09:46 50031
ǯ
#50031ϥߥ




121ڡ 1:11:22 50032
ǯ
#50031ϥߥ




121ڡ 1:54:46 50033
ǯ
#50031ιͤϴְ㤤Ǥ
ͤӡְ㤨Ƥʤ񤭹ߤ֤äƤޤޤ
862꤬ƱǤ
121ڡ 1:58:20 50034
ǯ
#50034Ϣ³ϥߥ
892Ǥ
121ڡ 2:00:11 50035
ֿء׾ι
1ܤϽ2ܤοǤ
3ܤ1ܤФ2ܤνǰäƤơ
2ĤؤǤǤʤ4̤ꡢ
Ǥʤʤ2̤ˤʤΤǤ͡
ñǤĤȻפޤ
121ڡ 7:24:04 50036
⡼ޥ
īͤ鵤Ťޤ ^^;v
äƤ뤫...Orz

4x4...
Ĥǹͤ...
4!*3*2*2=288
3ǤΤ...
288*2=576
121ڡ 8:14:58 50037
⡼ޥ
3ԤǤΤ...Ǥ...
121ڡ 8:17:42 50038
ϺĹ
Ϥ٤ߡݽˤäƤߤ褦ȥ󥸡
ͤˡαȯäƤޤä
žФʤ褦˵Ĥ褦
121ڡ 10:23:30 50039

򴪰㤤(^o^;)
4ԤˤưֲäƤƱʤΤ
1ˡԡ󤫤ĤǤȹͤ
4!4!=576̤
121ڡ 10:26:51 50040
ޤ륱
#50029 ߤ뤯ƱǤ

ΰ̣ǥ饤ʡ
Ruby Ǥ

p [1,2,3,4].permutation(4).to_a.permutation(3).to_a.map{|a|[0,1,2,3].map{|i|a.transpose[i].uniq.size==3?1:0}.sum==4?1:0}.sum
121ڡ 11:04:10 50041
Ȥ
#50034
>862꤬ƱǤ

ϵդäDz쥹򸫤

#41981
>Ȥ⤵Υץѡơ
>1323ޥ1424ޥƤߤޤ礤ޤ
>1323ޥǣȤꡢ1424ޥ216ȤȤʤޤ

񤭹ߤǸǸƤʤäߤǡ

#41983
ΥץƱͤݤ󤷤
12,216ˤʤΤ񤭤ޤ!!

(a)(b)(c)
(d)(e)(f)

for a=1 to 3
for b=1 to 3
for c=1 to 3
if a+b+c<>6 or a*b*c<>6 then goto 40
for d=1 to 3
if a=d then goto 30
for e=1 to 3
if e=b then goto 20
for f=1 to 3
if f=c then goto 10
if d+e+f<>6 or d*e*f<>6 then goto 10
let s=s+1
print "No.";s
print a;b;c
print d;e;f
10 next f
20 next e
30 next d
40 next c
50 next b
60 next a
print s;"̤ꡦ()"
end

(a)(b)(c)(d)
(e)(f)(g)(h)

for a=1 to 4
for b=1 to 4
for c=1 to 4
for d=1 to 4
if a+b+c+d<>10 or a*b*c*d<>24 then goto 50
for e=1 to 4
if e=a then goto 40
for f=1 to 4
if f=b then goto 30
for g=1 to 4
if g=c then goto 20
for h=1 to 4
if h=d then goto 10
if e+f+g+h<>10 or e*f*g*h<>24 then goto 10
let s=s+1
print "No.";s
print a;b;c;d
print e;f;g;h
10 next h
20 next g
30 next f
40 next e
50 next d
60 next c
70 next b
80 next a
print s;"̤ꡦ()"
end
˭ԡ 121ڡ 11:33:23 MAIL:fttnm528@ybb.ne.jp 50042
٥륯åĥ
892ƱäǤ͡
ʬ路Ƥ餷򸫤ơĹʤȻפޤ
121ڡ 11:56:04 50043
٥륯åĥ
#50024
ϤǵޤǤ͡
ȤǤäɤǤߤޤ
121ڡ 12:18:26 50044
ֿء׾ι
ңǤƤߤޤ޷ǼĤ򸫤ȡ
#50031ޤ륱ͤȤۤƱͤǤ

p [1,2,3,4].permutation.to_a.permutation(3).to_a.delete_if{|j| j.transpose.map{|i|i.uniq.size}.count(3)<4}.size

121ڡ 13:36:51 50045
ˤ
־ꤷĴ٤ޤ
121ڡ 15:41:57 50046

#50040ǤͤľȺƸ(33,22ΤȤʤ)̵褦˻פΤǡ
ΤޤäΤޤ(.;)
ߤޤ
121ڡ 16:30:00 50047
M
pythonꤷޤ

import itertools

a = [1,2,3,4]
b = [1,2,3,4]
c = [1,2,3,4]

A = list(itertools.permutations(a))
B = list(itertools.permutations(b))
C = list(itertools.permutations(c))
s=0

for x in A:
for y in B:
for z in C:
if x[0] != y[0] and y[0] != z[0] and x[0] != z[0]:
if x[1] != y[1] and y[1] != z[1] and x[1] != z[1]:
if x[2] != y[2] and y[2] != z[2] and x[2] != z[2]:
if x[3] != y[3] and y[3] != z[3] and x[3] != z[3]:
s += 1
print(s)
121ڡ 19:04:56 50048
M
https://colab.research.google.com/gist/naritatsu/9f36139b1303cc40338c29ba8bb36e27/math_challenge_1158.ipynb?hl=ja#scrollTo=rbWATs6kSmrM
121ڡ 19:05:06 50049
Ф
2020ǯ5֤Ʊ
https://www.densu.jp/kyoto/20kyotospass.pdf
121ڡ 20:26:08 MAIL:hbmath1965@yahoo.co.jp 50050
Ȥ
#42007

>wxMaxima ǡ飵ξץषƤߤޤʰʲ̤
>¹Է̡äФޤ

2014ǯ6ǯǤ?!ʬäƤߤޤ!!
Basic

(a)(b)(c)(d)(e)
(f)(g)(h)(i)(j)
(k)(l)(m)(n)(o)
(p)(q)(r)(s)(t) ѿ򿶤ʲΥɤ

print time$
for a=1 to 5
for b=1 to 5
for c=1 to 5
for d=1 to 5
for e=1 to 5
if a+b+c+d+e<>15 or a*b*c*d*e<>120 then goto 160
for f=1 to 5
if f=a then goto 150
for g=1 to 5
if g=b then goto 140
for h=1 to 5
if h=c then goto 130
for i=1 to 5
if i=d then goto 120
for j=1 to 5
if j=e then goto 110
if f+g+h+i+j<>15 or f*g*h*i*j<>120 then goto 110
for k=1 to 5
if k=a or k=f then goto 100
for l=1 to 5
if l=b or l=g then goto 90
for m=1 to 5
if m=c or m=h then goto 80
for n=1 to 5
if n=d or n=i then goto 70
for o=1 to 5
if o=e or o=j then goto 60
if k+l+m+n+o<>15 or k*l*m*n*o<>120 then goto 60
for p=1 to 5
if p=a or p=f or p=k then goto 50
for q=1 to 5
if q=b or q=g or q=l then goto 40
for r=1 to 5
if r=c or r=h or r=m then goto 30
for s=1 to 5
if s=d or s=i or s=n then goto 20
for t=1 to 5
if t=e or t=j or t=o then goto 10
if p+q+r+s+t<>15 or p*q*r*s*t<>120 then goto 10
let s1=s1+1
10 next t
20 next s
30 next r
40 next q
50 next p
60 next o
70 next n
80 next m
90 next l
100 next k
110 next j
120 next i
130 next h
140 next g
150 next f
160 next e
170 next d
180 next c
190 next b
200 next a
print s1
print time$
end

20:38:04
161280
20:38:11

7äǤ!!

>飶ξ׻ˤϡäȹפʤȡ
>ɴ֤⤫ꤽǤʡ

Ȼפޤ!!
ɿɴ֤⤫ΤʤǤޤ͡⡣
˭ԡ 121ڡ 20:50:15 MAIL:fttnm528@ybb.ne.jp 50051

ƱǤ
121ڡ 21:07:24 50052

ϻŻ˻ƥꥢ륿ǻäǤޤǤ
ǯεǤ͡
121ڡ 21:22:26 50053
ˤ⡼ʡء˥Υ
ǯε꤫飱ԺäΤǤ͡
¤ߣᣲĭ
ܤαĤ¤̤ĭ
ܤαĤ¤ѥ󤢤äơ줾ˤΥѥ
ܤαĤ¤ܣܣΡ̤ĭ
ߣߣᣵ

δλ٤
䣳ʿ̿޷ϻǽФƤ⤪ʤ񤷤ȴޤ
¡ 121ڡ 21:41:57 50054
Shim Koba
ˤ㡼ⷯƱ
124ȡꡢ12213443εդåȤη1&21&31&43̤ꡢեåȰʳ6ȡꡣ
եåȤ3ܤ224ȡꤺġ
ʳϥ󤫤2ȡꡣ
ä2434288 2462288 288+288576 ǡ576ȡ
122ʶ 4:05:55 50055
ߤ뤯
ˤ⤦Ʊ롼DzäƤʤȤ
ñˤ˼Τ
1234
2???
3???
4???Ϥ

1234
2?4?
342?
4??2

1234
2?4?
34?2
4?2?

1234
24??
3?42
4?2?
ΥꤨʤΤ狼Τ
24*6*(1+2+1)ȤΤᤤޤ
122ʶ 18:23:47 50056
ߤ뤯
6*6餤ʤ0.031secǽޤ
7*775äޤ61479419904000Фޤ

#include "bits/stdc++.h"
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); ++i)
#define rep2(i,l,r)for(int i=(l);i<(r);++i)
#define endl "\n"

long long N, M, subM;
int memo[5040][7];
bool Check[7][7];
long long dfs(int d) {
if (d == (N - 2)) {
return 1;
}
long long ret = 0;
rep2(i, (d + 1)*subM, (d + 2)*subM) {
bool b = true;
rep(j, N) {
if (Check[j][memo[i][j]]) {
b = false;
}
}
if (b) {
rep(j, N) {
Check[j][memo[i][j]] = true;
}
ret += dfs(d + 1);
rep(j, N) {
Check[j][memo[i][j]] = false;
}
}
}
return ret;
}
int main() {
cin >> N;
M = 1;
vector<int> v;
rep(i, N) {
v.push_back(i);
M *= (i + 1);
}
subM = M / N;
int now = 0;
do {
rep(i, N) {
memo[now][i] = v[i];
}
now++;
} while (next_permutation(v.begin(), v.end()));

rep(i, N) {
Check[i][i] = true;
}
long long ans = M * subM;
ans *= dfs(0);
cout << ans << endl;

}
122ʶ 19:15:56 50057
Ȥ
#50051

>Ȼפޤ!!
>ɿɴ֤⤫ΤʤǤޤ͡⡣

6*5=30ѿǡ16ޤ
5*4=20ѿ15ޤǤ7ääǤ

22:20:53
812851200
23:10:05

49ʬ12áǤʤ7249ʬ12

ޤǰ㤦ɤǷ3ץ餻(٤ʤʤ餷Ǥ)
ָ2ĤΤƤơ
˭ԡ 124 23:32:23 MAIL:fttnm528@ybb.ne.jp 50058
ֿء׾ι
#50057#50058
ΰΡ#50045Ǥϡn=6ξ硢ݰäƤФޤǤ
׻ϥѥưޤˤߤƲǤǤƤޤޤ
ǡޥĽ֤˽IJ򸫤ʤƤѹơΤ褦ˤޤRubyƵǤ
n=5ǡ0.15án=6ǡ79.81án=7ǡ޷׻Ǥ̤ϸۤɡ..

$n=7#n=4,n=5,n=6,,,ȤǤǤ
$cn=0
a=Array.new()
$r=Array.new()
1.step($n){|i|a<<i}
$r<<a
2.step($n){|i|$r<<Array.new($n,0)}

def c(e,f)
if f==$n then e+=1;f=0
end
if e>=$n then $cn+=1
else
1.step($n){|s|
if !($r[e].include?(s) or $r.transpose[f].include?(s))
then $r[e][f]=s
c(e,f+1)
end
}
$r[e][f]=0
end
end
t1=Time.now
c(1,0);1.step($n){|i|$cn*=i};p $cn
t2=Time.now
p t2-t1

125ʷ 8:49:54 50059
̴
֤˷ǼĤȡ7ǯ˥ޥͤꤷ
꤬ǯε˽ФƤ򤷤ޤ
äơ餷ȤǤΩؤ
򤷤ƤΤǤ礦
ٻΤ桡 125ʷ 19:01:01 50060