a: \(P=2^3\cdot5^3-3\cdot\left\{400-\left[673-2^3\cdot\left(7^3:7+1\right)\right]\right\}\)
\(=1000-3\cdot\left\{400-\left[673-8\cdot\left(49+1\right)\right]\right\}\)
\(=1000-3\cdot\left\{400-673+8\cdot50\right\}\)
\(=1000-381=619\)
b: \(Q=\dfrac{4^3\cdot9^2+6^3\cdot120}{-8^2\cdot3^6+6^5}\)
\(=\dfrac{2^6\cdot3^4+2^6\cdot3^4\cdot5}{-2^6\cdot3^6+2^5\cdot3^5}\)
\(=\dfrac{2^6\cdot3^4\left(1+5\right)}{-2^5\cdot3^5\left(2\cdot3-1\right)}\)
\(=-\dfrac{2}{3}\cdot\dfrac{6}{5}=\dfrac{-12}{15}=-\dfrac{4}{5}\)