影音先锋男人资源av站_狠狠色综合激情丁香五月_爱爱爱爱看视频_在线播放免费人成视频在线观看_少妇人妻综合久久中文字幕_国产午夜无码精品免费看_久久久久久夜精品精品免费啦_男人女人午夜视频免费_日本xxxx裸体xxxx_丰满人妻熟妇乱又仑精品

電子科大論壇-非清水河畔

 找回密碼
 注冊(cè)(開(kāi)放注冊(cè))
查看: 10615|回復(fù): 2
打印 上一主題 下一主題

[計(jì)算機(jī)類(lèi)] 一個(gè)來(lái)自國(guó)外的C語(yǔ)言程序題目

[復(fù)制鏈接]
跳轉(zhuǎn)到指定樓層
1#
發(fā)表于 2006-6-3 22:01:10 | 只看該作者 回帖獎(jiǎng)勵(lì) |倒序?yàn)g覽 |閱讀模式
You are to prepare a C programe that accepts one line argument.This argument will be the name of a file containing a maze.For explorer,if the name of your compiled program is a.out and the name of the maze fileis mazel then you would run the program as follows.

The maze file is a text file made up of spaces #'s plus one "s"and one"f",representing the start and finish of the maze.For the maze to be well formed it must meet the following requirements.

1.The start and finish must be surrounded by an unbroken perimeter of #"s
2.After the final # in each line of the maze the next character is a newline.
3.There are no spaces tithin the maze that cannot be reached by moving down one of the maze paths.

The following is an example of a maze file.

       #######
       #     #############
######## ### #           ###
#        #f### #########   #
#S#### # #     #       ### #
###    # ####### ### ###   #
  # ####         # ###   ###
  #    ##########      ###
  ####             #####
     ###############

The following points can also be noted about the mazes
1.The maze can be any width and length and as you can see,does not have to be rectangular.
2.When moving in the maze you may only move up and down and right and left.You may not move diagonally.

急用,我的郵箱:guolinfire@163.com
謝啦先!!!!!
2#
發(fā)表于 2006-6-12 20:12:58 | 只看該作者
不懂ENGLISH

不知道什么意思

呵呵
3#
發(fā)表于 2006-11-9 21:25:25 | 只看該作者
看懂了不知道現(xiàn)在給你作還來(lái)得及不?

本版積分規(guī)則

手機(jī)訪問(wèn)本頁(yè)請(qǐng)
掃描左邊二維碼
本網(wǎng)站聲明
本網(wǎng)站所有內(nèi)容為網(wǎng)友上傳,若存在版權(quán)問(wèn)題或是相關(guān)責(zé)任請(qǐng)聯(lián)系站長(zhǎng)!
站長(zhǎng)電話:0898-66661599    站長(zhǎng)聯(lián)系QQ:12726567   
站長(zhǎng)微信:hainanok
請(qǐng)掃描右邊二維碼
www.myujob.com

小黑屋|手機(jī)版|Archiver|電子科大論壇-非清水河畔 ( 瓊ICP備10001196號(hào)-2 )

GMT+8, 2025-11-6 07:04 , Processed in 0.065672 second(s), 14 queries .

Powered by 校園招聘信息

© 2001-2020 電子科大論壇-非清水河畔校園招聘

快速回復(fù) 返回頂部 返回列表