I can't understand, the problem say:
The input begins with an integer n on a line by itself representing the number of blocks in the block world. You may assume that 0 < n < 25.
So I can define table[25][25], but even when I use table[200][200], it's still out of range.
Search found 2 matches
- Mon Nov 26, 2001 6:37 pm
- Forum: Volume 1 (100-199)
- Topic: 101 - The Blocks Problem
- Replies: 635
- Views: 108632
- Mon Nov 12, 2001 4:44 pm
- Forum: Volume 1 (100-199)
- Topic: 101 - The Blocks Problem
- Replies: 635
- Views: 108632