Update p301.c

It's better to use unsigned type for powers[] because 1<<31 breaks the upper limit of int type and it's more suitable making bitmaps unsigned.