Your program exited with signal #11 (segmentation violation
[maybe caused by accessing memory out of bounds,
array indexing out of bounds, using a bad pointer
(failed open(), failed malloc), or going over
the maximum specified memory limit]) .

と出ているけどどう直せばいいんでしょうか?