英语翻译A crossword can be stored as a matrix m x n of zeros and ones.Zero represents white squares and one represents black squares.Some squares of the crossword are numbered and assigned to these numbers are the descriptions of the words that s

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/10 23:24:40
英语翻译A crossword can be stored as a matrix m x n of zeros and ones.Zero represents white squares and one represents black squares.Some squares of the crossword are numbered and assigned to these numbers are the descriptions of the words that s

英语翻译A crossword can be stored as a matrix m x n of zeros and ones.Zero represents white squares and one represents black squares.Some squares of the crossword are numbered and assigned to these numbers are the descriptions of the words that s
英语翻译
A crossword can be stored as a matrix m x n of zeros and ones.Zero represents white squares and one represents black squares.Some squares of the crossword are numbered and assigned to these numbers are the descriptions of the words that should be written either ``across'' or ``down'' into the crossword.A square is numbered if it is a white square and either (a) the square below it is white and there is no white square immediately above,or (b) there is no white square immediately to its left and the square to its right is white.The squares are numbered from left to right,from the top line to the bottom line.
From the matrix a crossword diagram can be drawn.In the diagram each square is represented by a box 4 x 6 characters.Black square and white squares (numbered and not numbered square) are represented as follows (where nnn is the number of the square):
++++++ ++++++ ++++++
++++++ +nnn + + +
++++++ + + + +
++++++ ++++++ ++++++
The remaining characters of the box are spaces.If black squares are given at the edges,they should be removed from the diagram (see the example).Only use spaces as necessary filling characters.Don't use any unnecessary spaces at the end of the line.
Input
The input consists of several blocks of lines each representing a crossword.Each block starts with the line containing two integers m < 25 and n < 25 separated by one space.In each of the next m lines there are n numbers 0 or 1,separated by one space.The last block will be empty,m = n = 0.
Output
The output contains the corresponding crossword diagram for each except the last block.After each diagram there is two empty lines.
..使用软件翻译我也会呀.先看下它翻译出来是什么吧..

英语翻译A crossword can be stored as a matrix m x n of zeros and ones.Zero represents white squares and one represents black squares.Some squares of the crossword are numbered and assigned to these numbers are the descriptions of the words that s
一个纵横填字游戏能被储存如零和一些的点阵式 m x n .零表现白色的正方形,而且一表现黑色的正方形.纵横填字游戏的一些广场被总计而且分配到这些数字是应该被写的字描述或across''或向下的''进入纵横填字游戏之内.一个广场是有限的,如果它是一个白色的正方形而且或 (一) 正方形在它下面是白色的,而且剩下不一个白色的正方形立刻上述 ,或 (b) 没有白色的正方形立刻到它的,而且它的右边正方形是白色的.从最高的线到底线广场从左边到右边被总计.
从点阵式一个纵横填字游戏图表能被画.在图表中每个正方形被一个盒子 4 x 6个个性表现.黑色的广场和白色的正方形 ( 有限的和不是有限的正方形) 依下列各项被表现:(nnn 是正方形的数字哪里)
++++++++++++++++++
+++++++ nnn+++
++++++++++
++++++++++++++++++
盒子的剩余个性是空间.如果黑色的正方形在边缘有,他们应该从图表被移动.(见到例子) 只有使用隔开如必需的充填物个性.在线结束的时候不使用任何的不必要的空间.
输入
输入有一些范围线每个表现一个纵横填字游戏.和包含二完整的事物 m

英语翻译A crossword can be stored as a matrix m x n of zeros and ones.Zero represents white squares and one represents black squares.Some squares of the crossword are numbered and assigned to these numbers are the descriptions of the words that s 英语翻译Read the clues and complete the crossword.Down. He is good at s______ a crossword puzzle 英语翻译Nor need pleasure be gross and sensual.there are no games except patience,chess problems and crossword puzzles that you can play without someone to play them with you. 英语翻译if a can can can a can can the can can a can with the can 英语翻译Can you can a can as a canner can can a can? 英语翻译Can you can a can like a can can a can? 英语翻译大师来翻译 Can you can a can as a canner can can a can? crossword怎么玩 animal crossword puzzles是什么意思 用英文解释Miss Green is such a kind teacher that all her students love her用英文解释下面句子:1.Miss Green is such a kind teacher that all her students love her2.You should work hard so that you can pass the exam.3.That crossword is so 英语翻译can you can a can as caner can a can怎么翻译,快. 英语翻译Can you can a can in a can as a canner can can a can?canners can can what they can can but can not can things can't be canned这都啥意思啊,can迷糊了! 英语翻译Can you can a can as a canner can can a can?求翻译啊,偶四级英语没过、、、 英语翻译谁能翻译这句话啊Can you can a can as a caner can can a can? Complete the crossword什么意思 英语翻译I( )a dog can ( ) ( ) ( ) ( ) ( )people 英语翻译peasants can have a good rest [ ].