Para alterar o valor por índice na lista, use name.set(index,value);
name.set(index,value);
arr.set(0,10);
N
1000 ms 256 Mb Rules for program design and list of errors in automatic problem checking