音频光端机机如何调试?

字符串处理-求大神帮解决如下程序,最基本的C语言字符串类型,不用编太难(如下为问题要求,测试用例,输出用例)
求大神帮解决如下程序,最基本的C语言字符串类型,不用编太难(如下为问题要求,测试用例,输出用例)
Background
Given an m by n grid of letters and a list of words, find the location in the grid at which the word can be found.
A word matches a straight, uninterrupted line of letters in the grid. A word can match the letters in the grid regardless of case (i.e., upper- and lowercase letters are to be treated as the same). The matching can be done in any of the eight horizontal, vertical, or diagonal directions through the grid.
The input begins with a single positive integer on a line by itself indicating the number of cases, followed by a blank line. There is also a blank line between each two consecutive cases.
Each case begins with a pair of integers m followed by n on a single line, where 1 ≤ m, n ≤ 50 in decimal notation. The next m lines contain n letters each, representing the grid of letters where the words must be found. The letters in the grid may be in upper- or lowercase. Following the grid of letters, another integer k appears on a line by itself (1 ≤ k ≤ 20). The next k lines of input contain the list of words to search for, one word per line. These words may contain upper- and lowercase letters only – no spaces, hyphens, or other non-alphabetic characters.
For each word in each test case, output a pair of integers representing its location in the corresponding grid. The integers must be separated by a single space. The first integer is the line in the grid where the first letter of the given word can be found (1 represents the topmost line in the grid, and m represents the bottommost line). The second integer is the column in the grid where the first letter of the given word can be found (1 represents the leftmost column in the grid, and n represents the rightmost column in the grid). If a word can be found more than once in the grid, then output the location of the uppermost occurrence of the word (i.e., the occurrence which places the first letter of the word closest to the top of the grid). If two or more words are uppermost, output the leftmost of these occurrences. All words can be found at least once in the grid.
abcDEFGhigg
hEbkWalDork
FtyAwaldORm
FtsimrLqsrc
byoArBeDeyv
Klcbqwikomk
strEBGadhrb
yUiqlxcnBjf
问这种supid的问题之前,请你首先google,看有没有人已经提问和解答了。如果没有,请自觉将题目的分数加到足够高,并且先采纳了答案再求代码。
解决方案二:
你扪心自问,你会为一个素不相识的人提出的不具备任何共性的问题(即这个问题只有你感兴趣)花多少时间在上面。所以一上来就是求别人帮你现做,恐怕你的父母都会不耐烦。
解决方案三:
首先说明,看懂这个题目都很费劲,这和我的英语水平差又很直接的关系,如果方便的话,用中文描述最好。
这个问题记下了,我先研究一下。
解决方案四:
有点儿ACM的味道. 不过我已经很久不做这种题了. 遗憾
解决方案五:
46+5广发卡UG高ioaghu奥鹏君,已阅读到文档的结尾了呢~~
.NET框架下IPv6和IPv4双协议兼容的测试用例实现,ipv6 nd协议,浏览器兼容性测试用例,兼容性测试用例,框架协议,战略合作框架协议,合作框架协议,框架协议范本,合作框架协议范本,项目投资合作框架协议
扫扫二维码,随身浏览文档
手机或平板扫扫即可继续访问
.NET框架下IPv6和IPv4双协议兼容的测试用例实现
举报该文档为侵权文档。
举报该文档含有违规或不良信息。
反馈该文档无法正常浏览。
举报该文档为重复文档。
推荐理由:
将文档分享至:
分享完整地址
文档地址:
粘贴到BBS或博客
flash地址:
支持嵌入FLASH地址的网站使用
html代码:
&embed src='/DocinViewer--144.swf' width='100%' height='600' type=application/x-shockwave-flash ALLOWFULLSCREEN='true' ALLOWSCRIPTACCESS='always'&&/embed&
450px*300px480px*400px650px*490px
支持嵌入HTML代码的网站使用
您的内容已经提交成功
您所提交的内容需要审核后才能发布,请您等待!
3秒自动关闭窗口 上传我的文档
 下载
 收藏
积分也是钱,大家多转转。
文档下一个,换得省时间。
建议多借鉴,举一再反三。
得到自己的,小钱变大钱。
 下载此文档
正在努力加载中...
软件测试与用例设计
试题与答案
下载积分:400
内容提示:软件测试与用例设计
试题与答案
文档格式:DOC|
浏览次数:430|
上传日期: 16:30:34|
文档星级:
全文阅读已结束,如果下载本文需要使用
 400 积分
下载此文档
阅读此文档的用户还读了
软件测试与用例设计
试题与答案
官方公共微信

我要回帖

更多关于 数字光端机 的文章

 

随机推荐