int * parr = (int*) malloc (sizeof(int) * N)

해서 동적으로 딱 맞게 만들어서 쓰는 것보다


sarr[10000] 이런식으로 최대치로 선언하고 쓰는게 더빠름?