Например, возможно ли иметь std :: vector для этих массивов?
int *test1 = new int[10]; int *test2 = new int[20]; int *test3 = new int[3];