declare

the array as
int long arr[mes];
int long ar2r[size];