\(\left|x-1\right|+\left(y+2\right)^{2022}=0\\ \Rightarrow\left\{{}\begin{matrix}\left|x-1\right|=0\\\left(y+2\right)^{2022}=0\end{matrix}\right.\Rightarrow\left\{{}\begin{matrix}x-1=0\\y+2=0\end{matrix}\right.\Rightarrow\left\{{}\begin{matrix}x=1\\y=-2\end{matrix}\right.\\ \Rightarrow B=13.1-5\left(-8\right)+2022=13+40+2022=2075\)
|x-1|+(y+2)2022=0
Do |x-1| và (y+2)2022 đều ≥0⇒\(\left\{{}\begin{matrix}x-1=0\\y+2=0\end{matrix}\right.\Rightarrow\left\{{}\begin{matrix}x=1\\y=-2\end{matrix}\right.\)
⇒B=13.(1)7-5.(-2)3+2022=13+40+2022=2075