| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 435 人关注过本帖
标题:[求助]一个关于puzzle word的问题
只看楼主 加入收藏
towgandz
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2006-9-2
收藏
 问题点数:0 回复次数:1 
[求助]一个关于puzzle word的问题
给出一个word list
hello
dog
brown
join
row
quick
averyverylongword
noon
z
blue
blunt
help
even
blink


和一个grid
dogxbxxxnoon
bhellotherec
akciuqbrownm
xxxgexlahjij
xbzoxvuxxxox
xlxdzxexxxjx
xuxxblxnkgod

写一个程序从grid中找出字母来组成list中的词
最后写出来像这种形式的结果
The word "hello" was found 1 time in the grid.
The word "dog" was found 3 times in the grid.
The word "brown" was found 1 time in the grid.
The word "join" was found 1 time in the grid.
The word "row" was found 1 time in the grid.
The word "quick" was found 1 time in the grid.
The word "averyverylongword" was NOT found in the grid.
The word "noon" was found 2 times in the grid.
The word "z" was found 2 times in the grid.
The word "blue" was found 2 times in the grid.
The word "blunt" was NOT found in the grid.
The word "help" was NOT found in the grid.
The word "even" was found 1 time in the grid.
The word "blink" was NOT found in the grid.
搜索更多相关主题的帖子: puzzle word 
2006-09-02 21:53
soft_wind
Rank: 3Rank: 3
等 级:新手上路
威 望:8
帖 子:1430
专家分:0
注 册:2006-4-5
收藏
得分:0 

对不礼貌的女生收钱......
2006-09-02 22:16
快速回复:[求助]一个关于puzzle word的问题
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.018969 second(s), 9 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved