Main.cc: In function ‘void select_sort(int)’: Main.cc:15:16: error: invalid types ‘int [100001][]’ for array subscript a[i] = a[min]; ^