У меня есть массив ниже
Код: Выделить всё
int[] a={1,2,3,1,1,2,2,1,3,2,1};Below should be output:
Код: Выделить всё
{1,1,1,1,1,2,3,2,2,3,2}Код: Выделить всё
int[] a={1,2,3,1,1,2,2,1,3,2,1};
List lst = new ArrayList();
for(int i=0;i
Источник: [url]https://stackoverflow.com/questions/78132453/print-1-from-array-in-starting-and-rest-as-it-is[/url]