这个问题怎么做好?(word sqaure)# CS - 计算机科学
r*p
1 楼
【 以下文字转载自 Programming 讨论区 】
发信人: roadtrip (dream on), 信区: Programming
标 题: 这个问题怎么做好?(word sqaure)
发信站: BBS 未名空间站 (Fri Sep 16 11:30:36 2005), 转信
A 'word square' is an NxN arrangement of letters which forms words
horizontally and vertically, such as these 5x5 examples:
heart
ember
abuse
resin
trend
Read a dictionary containing 5-letter words then print all
valid 5x5 word squares which can be made from those words.
A square is valid if it contains only words from the dictionary.
how to do it good?
发信人: roadtrip (dream on), 信区: Programming
标 题: 这个问题怎么做好?(word sqaure)
发信站: BBS 未名空间站 (Fri Sep 16 11:30:36 2005), 转信
A 'word square' is an NxN arrangement of letters which forms words
horizontally and vertically, such as these 5x5 examples:
heart
ember
abuse
resin
trend
Read a dictionary containing 5-letter words then print all
valid 5x5 word squares which can be made from those words.
A square is valid if it contains only words from the dictionary.
how to do it good?