First of all, format your program like this:
[cpp]while
{
command 1;
command 2;
etc...;
}[/cpp]
Second, put /* COMMENTS */
Third, put a routine that prints the 25x25 matrix after every input, so you can check what
Search found 4 matches
- Mon Nov 11, 2002 6:31 pm
- Forum: Volume 1 (100-199)
- Topic: 101 - The Blocks Problem
- Replies: 635
- Views: 108876
- Fri Nov 01, 2002 5:13 am
- Forum: Volume 1 (100-199)
- Topic: 101 - The Blocks Problem
- Replies: 635
- Views: 108876
- Tue Oct 29, 2002 5:48 am
- Forum: Volume 1 (100-199)
- Topic: 101 - The Blocks Problem
- Replies: 635
- Views: 108876
- Sat Oct 26, 2002 9:55 pm
- Forum: Volume 1 (100-199)
- Topic: 101 - The Blocks Problem
- Replies: 635
- Views: 108876
Re:101
Hi, Archer
I think your code is not dealing with cases such as a<0 or b<0
I think your code is not dealing with cases such as a<0 or b<0