Сравнение постов
Различия между постами
#223338 (30.09.2021 00:21)
и
#272335 (07.02.2024 21:36).
1 | Your program should get two parameters from command line: | |
2 | -string size N^2, that describes square matrix of characters N*N; | |
3 | -string that describes given word. | |
4 | ||
5 | The first string is converting to matrix using the following rule. String "QWEASDZXC" forms the matrix: | |
6 | ['Q','W','E', | |
7 | 'A','S','D', | |
8 | 'Z','X','C'] | |
1 | It's extreme to finally weld you all. I've been following the forum for a while and thought it's around while I joined in. | |
2 | ||
3 | A spoonful there me: I'm very earnest about gaming. I've loving a mountains of just the same from time to time delightful with this area and aim to sharing my insights here. | |
4 | ||
5 | In addition to that, I be thrilled by traveling, and I'm unendingly fervent to feel imaginative passions to explore. | |
6 | ||
7 | I'm passionate about the opening with others who share in my passions and contributing to the community here. Don't balk to grow in allude to if you comprise any tips or suggestions. | |
8 | ||
9 | ||
10 | Yor program should print to the console the sequence of cells those build the given word. | |
11 | Every next character of word can be placed just in the neightbor cell: on the top, on the bottom, on the left or on the right from the cell with previous character. | |
12 | ||
13 | E.g. if it is given matrhix "QLGNAEKIRLRNGEAE" and word "KING", then sequence of cells will be [1,2]->[1,3]->[0,3]->[0,2] | |
14 |