Re: 422 word search wonder
Posted: Thu Jul 24, 2014 9:05 pm
The output is wrong, CSID is found at: 4,2 1,2
Post or send me your code if you need help.
Post or send me your code if you need help.
Code: Select all
//facepalm
If a word is not found, the string ``Not found'' should be output instead of a pair of coordinates.
This is your output part1,2 4,2
2,1 2,4
Not found
Code: Select all
//output coords
if (is_match)
printf("%d,%d %d,%d", j, k, l, m);
else
printf("Not Found");
...thank you...lighted wrote:My advice to you -> always copy/paste output format from problem description or sample.