»ç¤Îé¬é¯¤Î¿Í
16C4-4*2-4*4*12*2=1428
¡¡¡¡ 3·î21Æü¡ÊÌÚ¡Ë 0:10:40¡¡¡¡ ¡¡¡¡53244
¥Ù¥ë¥¯¡¦¥«¥Ã¥Ä¥§
16¡ß15¡ß14¡ß13¡à¡Ê4¡ß3¡ß2¡ß1¡Ë¡á1820
4¡ß4¡ß12¡ß2+4¡ß2¡á392
1820-392¡á1428
Á´ÂΤ«¤é¤À¤á¤Ê¤â¤Î¤ò°ú¤­¤Þ¤·¤¿¡£
·×»»´Ö°ã¤¨¤Æ3²óÌܤǤä¤Ã¤ÈÀµ²ò¤Ç¤¹¡£
¡¡¡¡ 3·î21Æü¡ÊÌÚ¡Ë 0:10:48¡¡¡¡ ¡¡¡¡53245
ĹÌîÈþ¸÷
16£Ã4 ¤«¤é¡¢£´¸Äʤ֣¸Ä̤ê¤È¡¢£³¸ÄʤÖ384Ä̤ê¤ò°ú¤­¤Þ¤·¤¿¡£
ÀŲ¬¸©¡¡¡¡ 3·î21Æü¡ÊÌÚ¡Ë 0:11:03¡¡¡¡ HomePage:¥è¥Ã¥·¡¼¤Î»»¿ô¡¦¿ô³Ø¤ÎÉô²°¡¡¡¡53246
¥´¥ó¤È¤â
º£Æü¤Ï¥ê¥¢¥ë¥¿¥¤¥à¤Ç½½¿ÊBasic ¤Ç

for a=0 to 1
for b=0 to 1
for c=0 to 1
for d=0 to 1
if a+b+c+d=>3 then goto 130
for e=0 to 1
for f=0 to 1
for g=0 to 1
for h=0 to 1
if e+f+g+h=>3 then goto 90
for i=0 to 1
for j=0 to 1
for k=0 to 1
for l=0 to 1
if i+j+k+l=>3 then goto 50
for m=0 to 1
if a+e+i+m=>3 then goto 40
for n=0 to 1
if b+f+j+n=>3 then goto 30
for o=0 to 1
if c+g+k+o=>3 then goto 20
for p=0 to 1
if m+n+o+p=>3 or d+h+l+p=>3 then goto 10
if a+b+c+d+e+f+g+h+i+j+k+l+m+n+o+p=4 then let s=s+1
10 next p
20 next o
30 next n
40 next m
50 next l
60 next k
70 next j
80 next i
90 next h
100 next g
110 next f
120 next e
130 next d
140 next c
150 next b
160 next a
print s
end

1428¡Ä¡Ä(Åú¤¨)¡Ä¡Ä(Åú¤¨)
Ë­Àî»Ô¡¡¡¡ 3·î21Æü¡ÊÌÚ¡Ë 0:13:24¡¡¡¡ ¡¡¡¡53247
º£Ç¯¤«¤é¹âÎð¼Ô
16¥ö½ê¤Î¤¦¤Á4¥ö½ê¤òÁª¤ÖÊýË¡¡²1820¤È¤ª¤ê
4¸Ä¤¬1Îó¤Ëʤ֡²8¤È¤ª¤ê
3¸Ä¤¬£±Îó¤Ëʤӡ¢»Ä¤ê¤¬12¥ö½ê¤Î¤É¤³¤«¤Ë°ÌÃÖ¤¹¤ë¡²8*4*12¡á384
1820¡Ý8¡Ý384¡á1428
¡¡¡¡ 3·î21Æü¡ÊÌÚ¡Ë 0:23:14¡¡¡¡ ¡¡¡¡53248
¼êÉÁ¤­¿ÞÌÌ¿¦¿Í
Python program¤Ç²ò¤¤¤Æ¸«¤Þ¤·¤¿¡£¥×¥í¥°¥é¥à¤Ï¡¢
from itertools import combinations
def count_valid_placements(grid_size,ball_count):
¡¡¡¡points=[(i,j) for i in range(grid_size) for j in range(grid_size)]
¡¡¡¡valid_placements=0
¡¡¡¡for ball_positions in combinations(points,balls_count):
¡¡¡¡¡¡¡¡rows=[0]*grid_size
¡¡¡¡¡¡¡¡cols=[0]*grid_size
¡¡¡¡¡¡¡¡for position in balls_positions:
¡¡¡¡¡¡¡¡¡¡¡¡rows[position[0]] +=1
¡¡¡¡¡¡¡¡¡¡¡¡cols[position[1]] +=1
¡¡¡¡¡¡¡¡if all(x<=2 for x in rows) and all(x<=2 for x in cols):
¡¡¡¡¡¡¡¡¡¡¡¡valid_placements +=1
¡¡¡¡return valid_plcements
total_placements=count_valid_placements(4,4)
print(f"ÀÖ¤¤¥Ü¡¼¥ë¤òÇÛÃÖ¤¹¤ëÊýË¡¤ÏÁ´Éô¤Ç{total_placements}Ä̤ê¤Ç¤¹¡£")
¥×¥í¥°¥é¥à¤Ï¡¢copilot¤Ëºî¤Ã¤ÆÌ㤤¤Þ¤·¤¿¡£»ä¤Ï¤³¤ó¤Ê¥Ï¥¤¥ì¥Ù¥ë¤Ê¥×¥í¥°¥é¥à¤Ï¡¢ºî¤ì¤Þ¤»¤ó¡£
¡¡¡¡ 3·î21Æü¡ÊÌÚ¡Ë 8:50:45¡¡¡¡ ¡¡¡¡53249
¤È¤Þ¤Ô¤ç¤ó
º£½µ¤ÎÌäÂê¤âchatGPT3.5¤Ë²ò¤«¤»¤Æ¤ß¤Þ¤·¤¿¤¬¡¢¸íÅú¤Ç¤·¤¿¡£¥×¥í¥ó¥×¥È¤Ë¤â¤Ã¤È¹©Éפ¬¤¤¤ë¤Î¤«¤Ê¡©
¡¡¡¡ 3·î21Æü¡ÊÌÚ¡Ë 9:05:25¡¡¡¡ ¡¡¡¡53250
¼êÉÁ¤­¿ÞÌÌ¿¦¿Í
chatGPT3.5¤Ï²èÁüǧ¼±¤Îµ¡Ç½¤Ï¤¢¤ê¤Þ¤»¤ó¤è¡£
¡¡¡¡ 3·î21Æü¡ÊÌÚ¡Ë 9:34:12¡¡¡¡ ¡¡¡¡53251
¼êÉÁ¤­¿ÞÌÌ¿¦¿Í
chatGPT3.5¤ÇÌäÂê¤ò¡¢¾å¤Î¿Þ¤Î¤è¤¦¤Ê¡¢¤ò½ü¤¤¤Æ¥³¥Ô¡¼¥¢¥ó¥É¥Ú¡¼¥¹¥È¤·¤Æ¡¢¤ä¤Ã¤Æ¤ß¤Þ¤·¤¿¤¬Àµ²ò¤Î¥×¥í¥°¥é¥à¤òºîÀ®¤·¤Æ¤¯¤ì¤Þ¤·¤¿¡£
¡¡¡¡ 3·î21Æü¡ÊÌÚ¡Ë 10:21:26¡¡¡¡ ¡¡¡¡53252
¤È¤Þ¤Ô¤ç¤ó
»ä¤â¥³¥Ô¡¼¥Ú¡¼¥¹¥È¡Ê¿Þ¤ò½ü¤¤¤Æ¡Ë¤À¤Ã¤¿¤ó¤Ç¤¹¤±¤É¡£²óÅú¤Î¤Ð¤é¤Ä¤­¤Ê¤ó¤Ç¤¹¤«¤Í¡©
¡¡¡¡ 3·î21Æü¡ÊÌÚ¡Ë 14:11:11¡¡¡¡ ¡¡¡¡53253
¡Ö¿ô³Ø¡×¾®Î¹¹Ô
¤Þ¤¿¤·¤Æ¤â¡¢º£º¢¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤¤¤Þ¤·¤¿¡£
½Ä¤ÎÎó¤Ë¡¢£±¡¤£±¡¤£±¡¤£±¤Î¤È¤­¤È¡¢£²¡¤£±¡¤£±¤Î¤È¤­¤È¡¢£²¡¤£²¤Î¤È¤­¤Ç¡¢
²£¤Î¹Ô¤Ë£²¸Ä°Ê¾åʤФʤ¤¤è¤¦¤ÊÃÖ¤­Êý¤ò¿ô¤¨¤Þ¤·¤¿¡£
¡¡¡¡ 3·î21Æü¡ÊÌÚ¡Ë 15:03:42¡¡¡¡ ¡¡¡¡53254
¼êÉÁ¤­¿ÞÌÌ¿¦¿Í
chatGPT4.0¤Ï²èÁüǧ¼±¤Îµ¡Ç½¤â¤¢¤ë¤Î¤Ç¡¢»È¤¨¤ë´Ä¶­¤Î¿Í¤Ï»î¤·¤Ë¤¼¤ó¤Ö¤ò¥³¥Ô¡¼¥¢¥ó¥É¥Ú¡¼¥¹¥È¤·¤Æ¡¢³Î¤«¤á¤Æ¤¯¤À¤µ¤¤¡£
¡¡¡¡ 3·î21Æü¡ÊÌÚ¡Ë 16:24:28¡¡¡¡ ¡¡¡¡53255
¹«¤ÎÌ´
²¿²ó·×»»¤·¤Æ¤â¤½¤Î¤¿¤Ó¤ËÃͤ¬°ã¤¤¡¢Çº¤ß¤Ì¤¤¤Æ¤¤¤¿¤Î¤Ç¤¹¤¬¡¢
²¿¿Í¤«¤ÎÊý¤¬¥³¥á¥ó¥È¤µ¤ì¤Æ¤¤¤ëÁ´ÂΤ«¤é°ìľÀþ¾å¤Ë4¸ÄʤÖ
¾ì¹ç¤È3¸ÄʤӾ¤Î²Õ½ê¤Ë1¸Äʤ־ì¹ç¤ò°ú¤¤¤Æ¤ß¤ë¤È¡¢¤³¤ì¤Þ¤Ç¤Î
·×»»¤¬²¿¤À¤Ã¤¿¤Î¤È¡¢Çï»ÒÈ´¤±¤¹¤ë¤Û¤É´Êñ¤ËÀµ²ò¤Ëé¤êÃ夭¤Þ¤·¤¿¡£
¤¤¤ä¤Ï¤äÈè¤ì¤Þ¤·¤¿¡£
¿¿Çò¤­ÉٻΤÎÎæ¡¡¡¡ 3·î21Æü¡ÊÌÚ¡Ë 18:13:37¡¡¡¡ ¡¡¡¡53256
¼êÉÁ¤­¿ÞÌÌ¿¦¿Í
copilot¤ÏchatGPT4.0¤Îµ¡Ç½¤ò´Þ¤à¤Î¤Ç¤·¤ç¤¦¤«¡©
¡¡¡¡ 3·î22Æü¡Ê¶â¡Ë 15:56:56¡¡¡¡ ¡¡¡¡53257
¡Ö¿ô³Ø¡×¾®Î¹¹Ô
½ÐÍè¹ç¤¤¤Î¥×¥í¥°¥é¥à¤Ç¤¹¤¬¡¢£Ò£õ£â£ù¤Ç¡¢
c=0
(0..15).to_a.combination(4).to_a.each{|x|m=Array.new(16,0);m[x[0]]=1;m[x[1]]=1;m[x[2]]=1;m[x[3]]=1;c+=1 if m[0]+m[1]+m[2]+m[3]<3and m[4]+m[5]+m[6]+m[7]<3and m[8]+m[9]+m[10]+m[11]<3and m[12]+m[13]+m[14]+m[15]<3and m[0]+m[4]+m[8]+m[12]<3and m[1]+m[5]+m[9]+m[13]<3and m[2]+m[6]+m[10]+m[14]<3and m[3]+m[7]+m[11]+m[15]<3}
p c
¤â¤Ã¤È¹©Éפ·¤Ê¤¤¤È¡¢¤È¤Ï»×¤¤¤Ä¤Ä¡£
¡¡¡¡ 3·î27Æü¡Ê¿å¡Ë 9:40:33¡¡¡¡ ¡¡¡¡53258