DrK
櫓Ǥ͡
33Υ֥å̤31Υ֥å濴3̤μͤеޤ롣
ޤ1ꤷƹͤ롣
ߤ33Υ֥åˤ硢992=162ĭ
133Υ֥åˤꡢ⤦1Ͽ̤ˤ
913=117ĭ
ߤ˿̤31Υ֥åˤ
332=18ĭ
131Υ֥å1ˤ

+++
162+117+18+3=300
ϳڱफ?㤦ʡ 825ڡ 0:16:02 MAIL:satoka@star.odn.ne.jp 25650
atomick
ñ49ޥ飲ޥȤ߹碌1176ȡ
ΤΥޥ(夫4ܡ4)濴оΤ2ޥ24Ȥϡ2Ȥ1̤ȿΤ24/2=12̤ꡣ
Ĥ1152Ȥϡ4Ȥ1̤ȿΤ1152/4=288̤ꡣ
300̤Ǥ
825ڡ 0:21:55 25651
DrK
ˡä⡣
Ʊ֥åˤȡ濴ФоΤʥ֥åƱΤˤξ櫓ޤ
Ǥ⡢׻ۤɤη׻Ʊˤʤޤ
̩ˤ
99+9(1+(8/2))+9C2=162
33+3(1+(2/2))+3C2=18
Ǥ
ϳڱफ?㤦ʡ 825ڡ 0:22:18 MAIL:satoka@star.odn.ne.jp 25652
atomick
ñ49ޥ飲ޥȤ߹碌1176ȡ
ΤΥޥ(夫4ܡ4)濴оΤ2ޥ24Ȥϡ2Ȥ1̤ȿΤ24/2=12̤ꡣ
Ĥ1152Ȥϡ4Ȥ1̤ȿΤ1152/4=288̤ꡣ
300̤Ǥ
825ڡ 0:23:39 25653

ޤ̵뤷顡̤ꡡ4921176̤
̤ϲž鼫Ȥޤƣ̤ʣޤ
濴ȸߤоΤˤפ180ٲžΤǣ̤νʣˤʤޤ
ޤ򣱣̤ȵᡢĤ117612*2=1152 ǣ̤νʣθ
1152ࣴ288Ȥʤꡡ12Ȳä300ˤʤޤ
顼θ 825ڡ 0:24:44 HomePage:25655
tomh
#25651ƱǤ

ǽ顢ȿžͤƤΤ (^b^)
ԡ 825ڡ 0:31:05 MAIL:tomh@yahoo.co.jp HomePage:H to M25658
ʤ
Ȥ㤤

оΤ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)^2̤ꡦ
4̤ʬ(-2*)/4=(n^2*(n^2-1)/2-2*(n/2)^2)/4
expand((n^2*(n^2-1)/2-2*(n/2)^2)/4);n^4/8-n^2/4
ȭ­
factor(expand(n^4/8-n^2/4+(n/2)^2));n^4/8
ΤȤñǹͤ䤹ȻפޤǤϡ
˭ԡ 825ڡ 1:20:30 MAIL:fttnm528@ybb.ne.jp 25664
ҡΤ
ï뤫Τޤ󤬤ɤȸȤ...ˡ
֤4̤ʬ2̤ʬ2बޤ...ޤ2̤Ϲͤˤޤ
49C2(1/4)=294
2̤ʬѥ⤤ä4dzäƤޤ
֤ä㤱294̤ˤ2̤ѥ󤬤ȾʬޤޤƤʤ櫓Ǥ...
2̤ѥ12̤Ǥ...Ⱦʬ6̤­ƤФäƤȤ
294+6=300 300̤ꡡǤ
9ߤ濴 825ڡ 2:34:33 HomePage:25666
X
錄ϼǤȣܣܣᣳǤޤǤΤ¾֤ߤˣΣ֥åˤ櫓Ƥޤ
825ڡ 10:41:46 25667
kasama
Ϥ褦ޤ(*^_^*)

import java.util.*;
public class Question465 {
private static List list = new ArrayList();
public static void main(String[] args) {
locate(0, 0, new int[2]);
System.out.println(list.size());
}
private static final void locate(int n, int p, int[] pos) {
if (p >= pos.length) {
String s = new StringBuffer().append(pos[0]).append(',').append(pos[1]).toString();
int[] p2 = rotate(pos);
String s2 = new StringBuffer().append(p2[0]).append(',').append(p2[1]).toString();
int[] p3 = rotate(p2);
String s3 = new StringBuffer().append(p3[0]).append(',').append(p3[1]).toString();
int[] p4 = rotate(p3);
String s4 = new StringBuffer().append(p4[0]).append(',').append(p4[1]).toString();
if (!list.contains(s) && !list.contains(s2) && !list.contains(s3) && !list.contains(s4)) list.add(s);
return;
}
if (n >= 49) return;
locate(n+1, p, pos);
pos[p++] = n;
locate(n+1, p, pos);
}
private static final int[] rotate(int[] pos) {
int[] p2 = new int[]{7*(pos[0]%7)+6-(pos[0]/7), 7*(pos[1]%7)+6-(pos[1]/7)};
if (p2[0] < p2[1]) return p2;
return new int[]{p2[1], p2[0]};
}
}
825ڡ 11:17:02 25668
uchinyan
Ϥˤϡ
ϡñǤ𤱤ʤȤ˴ˤ󤬤餬äƤޤ빽줷ߤޤ (^^;
ǽ̤ϤɤʤƱȻפޤƮ­פ򡥡
ޤĤ϶̤ʤΤǡ49C2 ɡžоꤳ 1/4 ơ49C2 * 1/4 = 294 ʡǤñʤ
Ǽġ֥֡סäѤ㤦äȿŤˡ
оμˤΤäƤ2濴ȸ碌ʤΤϡžоȾʬˤʤ뤫顢(49C2 + 4 * 3)/4 = 294 + 3 = 297
Ǽ()֥֡ۡס
ࡢݤץȤ󤸤㤨äȡ588 ХХĤ̤Ƥս꤬뤥
300 äƽФɤۤȤ
Ǽġ֥ԥݥ!סä͡
ʤ
žоȾʬˤʤս꤬оμ˶ޤ줿֤ˤ3սꤢ
ȤȤϡ(49C2 + 4 * (3 + 3))/4 = 294 + 6 = 300 ̤ꡣ
աäȤǤޤǤǤ
ȤǤ

ʤߤˡץࡣperl Ǥ

# Sansuu Challenge 465

$c = 0; @p = (); $n = 7;

sub check {
local($x1,$y1,$x2,$y2) = @_;
for($i = 0; $i < @p+0; $i += 4) {
if(($x1 == $p[$i]) && ($y1 == $p[$i+1]) && ($x2 == $p[$i+2]) && ($y2 == $p[$i+3])) {
return(1);
}
if(($x2 == $p[$i]) && ($y2 == $p[$i+1]) && ($x1 == $p[$i+2]) && ($y1 == $p[$i+3])) {
return(1);
}
}
return(0);
}

foreach $x1 (1..$n) {
foreach $y1 (1..$n) {
foreach $x2 (1..$n) {
foreach $y2 (1..$n) {
next if(($x1 == $x2) && ($y1 == $y2));
next if(check($x1,$y1,$x2,$y2) == 1);
next if(check($n+1-$y1,$x1,$n+1-$y2,$x2) == 1);
next if(check($n+1-$x1,$n+1-$y1,$n+1-$x2,$n+1-$y2) == 1);
next if(check($y1,$n+1-$x1,$y2,$n+1-$x2) == 1);
$c++;
push(@p,$x1,$y1,$x2,$y2);
}
}
}
}
print "$c";
ͥνȡ 825ڡ 14:57:31 MAIL:uchi@sco.bekkoame.ne.jp 25669
uchinyan
βˡǤΰ̲(äȡɲá)
* n
(C(n^2,2) + 4 * Sum(k=1,(n-1)/2){k})/4
= 1/4 * (1/2 * n^2 * (n^2 - 1) + 4 * 1/2 * (n-1)/2 * (n+1)/2)
= 1/8 * (n^4 - 1)
* n
ξˤϡ濴󤬤ʤΤǡ4 ܤΤȤ 2 ܤˤơʬ٤ȤäĤơ
(C(n^2,2) + 2 * (Sum(k=1,n/2){k} + Sum(k=1,n/2-1){k}))/4
= 1/4 * (1/2 * n^2 * (n^2 - 1) + 2 * (1/2 * n/2 * (n/2 + 1) + 1/2 * n/2 * (n/2 - 1)))
= 1/4 * (1/2 * n^2 * (n^2 - 1) + 2 * (n/2)^2)
= 1/8 * n^4
tomh 䥴Ȥ⤵ƱǤ͡
ͥνȡ 825ڡ 15:07:49 MAIL:uchi@sco.bekkoame.ne.jp 25670
X
ߤޤ󡣿ȤǤޤǤ錄Τȸ濴ݸ¤;ݸ¤ˤ櫓ơȤɤäξݸ¤ҤȤġȤʤƱΤξݸ¤ҤȤĤŤġ碌ξݸ¤ҤȤĤŤĤιפǣǤ⤽˰Ĥξݸ¤դĤ֤äȣˤʤ롩ɤʣƤ
825ڡ 13:11:55 25671
ϥ饮㡼ƥ
򤱤ޤǤ¾οͤ򤱤ޤ

49C2/4˹ԤޤǤ
̶彣 826ʶ 10:41:45 HomePage:ĩ25672

Τ飲ĽФοãᣱ̤
Τʣݣˡᣲ̤ϲžƱˤʤѥ󤬣Ĥġ
ĤΣݣᣱ̤ϲžƱˤʤѥ󤬣Ĥġ
äơܣᣳ̤

סƤߤɡ񤷤ɡDz򤱤ʤä
825ڡ 16:47:58 25673
uchinyan
#25671
äȹͤƤߤޤ
䤹ߤޤ󡣿ȤǤޤǤ
錄Τȸ濴ݸ¤;ݸ¤ˤ櫓ơ
丶Ȥɤäξݸ¤ҤȤġȤʤƱΤξݸ¤ҤȤĤŤġ
餯줾졢12 ̤ꡢ12 * 12 = 144 ̤ǡޤǤȻפޤ
碌ξݸ¤ҤȤĤŤĤιפǣ
ǡ碌ξݸ¤ĤĤξˤϡ
濴ϤоΤˤʤΡ12 ̤ꤢޤOK
濴ϤоΤˤʤʤΡ12 * 12 - 12 = 132 ̤ꤢޤ
줬ǡ180ٲžΤ̡˴ޤޤƤޤ򺣲ƱȤߤʤɬפޤ
ǡºݤˤϡȾʬˤ 132/2 = 66 ̤ꡢȤʤФʤʤȻפޤ
ɡ12 + 66 = 78 ̤ˤʤޤ
Ǥ⤽˰Ĥξݸ¤դĤ֤äȣˤʤ롩
Ĥξݸ¤֤Τϡ12C2 = 12 * 11 / 2 = 66 ̤Ǥ͡
ɡ12 + 144 + 78 + 66 = 300 ̤Ǥ
ɤʣƤ
嵭ΤȤǤʣ 66 ޤ껦ơϰפ褦Ǥ ^^:
ͥνȡ 825ڡ 18:29:25 MAIL:uchi@sco.bekkoame.ne.jp 25674
uchinyan
ǼĤɤߤޤڡƱ褦Ǥ͡
Ȥ̯ʥХꥨ󤬤äợǤ
Ȥ˥ץǴŪʤΤǤ(ץ񤯤äˤפޤ)
빽񤷤Ȥ㤤䤹
Ȼפޤ
ͥνȡ 825ڡ 18:43:55 MAIL:uchi@sco.bekkoame.ne.jp 25675

ä˺Ƥޤ
#25651ƱǤ

ֶ̤Ĥסֶ̤դʤפΰ㤤򤷤Ƥ뤫ɤˤɤǤ͡
̤̪ 826ʶ 3:37:04 MAIL:ishizaki@qa.so-net.ne.jp 25676
X
uchinyanޡ꤬Ȥޤ̾õ塪ǤPointʬޤԥȤʤΤǤäͤƸޤˤƤBS̾õݥä
826ʶ 10:33:34 25677
ޤ륱
ޤܤοѤΰ̲ͤ׻ƸޤΥȤˤϳϤޤǤ
ޤߤʤ餫ʤ
826ʶ 12:09:28 MAIL:take4310@mobile.email.ne.jp HomePage:ޤ륱25678
¼
ܤֹĤޤ.žƱ֤ΤƱֹĤȷֹ113ˤʤޤ.ʳ¦դƤȿ椬13ˤʤޤ.ˤƶϤϢϷΤ褦112̤ꡢ1-21-124̤ꡢ1-131̤Ȥ1213ޤǿ夲ȷ300ˤʤޤ
826ʶ 15:22:31 MAIL:kwckx939@ybb.ne.jp 25679
ߤ
Τ#25651Ʊ褦оΤΤ򺹤Ƥ飴ʬΣ롢
ȤˡǤ

ο­碌ƽФΤʤ#26650ΤǤ͡
827ڡ 9:57:47 25680
ȥȥ
#25651 atomickƱǤ
ǽоΤȤ12ȴ㤤Ƥޤ
Ȥˤ˲褷Ƥ褫äǤ
ʼ˸лԡ 831ʿ 0:03:10 MAIL:h-sakai@zb3.so-net.ne.jp 25681