Test online Didactic.ro
Ce valoare are f(15,2)? int f(int a, int b) {if (b<1) return -1; else if (a%b==0) return 1+f(a/b,b); else return 0; }