\(A=\left(x+y+z\right)^3+\left(x-y-z\right)^3\)
\(=x^3+3x^2\left(y+z\right)+3x\left(y+z\right)^2+\left(y+z\right)^3+x^3-3x^2\left(y+z\right)+3x\left(y+z\right)-\left(y+z\right)^3\)
\(=2x^3+6x\left(y+z\right)^2\)
\(Q=A-B+2015\)
\(=2x^3+6x\left(y+z\right)^2-2x^3-6x\left(y+z\right)^2+2015\)
=2015