Cod sursa(job #1357330)

Utilizator ovidel95Ovidiu ovidel95 Data 23 februarie 2015 21:24:42
Problema Cel mai lung subsir comun Scor 0
Compilator cpp Status done
Runda Arhiva educationala Marime 0.24 kb
f(x1*x2)= f(x1)+f(x2)
f(x1 o x2) = f(x1)f(x2)
f(e1)=f(e2)

f(x) = ax+b

f(4)=0

f(x1+x2-3)= f(x1) + f(x2)
f(x1+x2-3) = ax1+b +ax2+b
			= a(x1+x2) + 2b

f(x1x2-3x1-3x2+12) = (ax1+b)(ax2+b) = a^2x1x2+ax1b+ax2b +b^2


5 2 -4
0 8 2
0 2 5