a: \(248\left(13-197\right)+197\left(248-13\right)\)
\(=248\cdot13-248\cdot197+197\cdot248-197\cdot13\)
\(=248\cdot13-197\cdot13\)
\(=51\cdot13=663\)
b: \(146\left(295-39\right)-295\left(146-39\right)\)
\(=146\cdot295-146\cdot39-295\cdot146+295\cdot39\)
\(=295\cdot39-146\cdot39\)
\(=39\cdot149=5811\)
c: \(\left(-245\right)\left(45-948\right)-45\left(948-245\right)\)
\(=-245\cdot45+245\cdot948-45\cdot948+45\cdot245\)
\(=245\cdot948-45\cdot948\)
\(=200\cdot948=189600\)
d: \(\left(-3\right)^4-7\cdot\left(-2\right)\cdot\left(-3\right)^3+4^3-\left(-2024\right)^0\)
\(=81+14\cdot\left(-27\right)+64-1\)
\(=144-378=-234\)