Sửa đề: \(x^2+2y^2+z^2-2xy-2y-4z+5=0\)
\(\Leftrightarrow x^2-2xy+y^2+y^2-2y+1+z^2-4z+4=0\)
\(\Leftrightarrow\left(x-y\right)^2+\left(y-1\right)^2+\left(z-2\right)^2=0\)
=>x=y=1 và z=2
\(A=\left(x-1\right)^{2018}+\left(y-1\right)^{2019}+\left(z-1\right)^{2020}\)
\(=\left(1-1\right)^{2018}+\left(1-1\right)^{2019}+\left(2-1\right)^{2020}\)
=1