https://teratail.com/questions/312048
callocを用いて行列を計算する

タイトルが謎すぎる