// Sa inlocuim elementele pare cu jumatatea lor void f(int v[], int n) { if(n == 0) return; if(v[n] % 2 == 0) v[n] = v[n] / 2; f(v, n-1); }