Let $A=(a_{ij})$ and $B=(b_{ij})$ be $n \times n$ integer matrices. Then $AB=(\Sigma_{k=1}^n a_{ik}b_{kj})_{ij}$. I am interested in finding the most efficient algorithm for computing the product of the entries of $AB$,
$\Pi_{i,j=1}^n (\Sigma_{k=1 }^n a_{ik}b_{kj}$).
Certainly, the most straightforward way of doing this (by using the above formula) is not the most efficient way of doing this, since there are algorithms like Strassen's algorithm which calculate all of the entries of the matrix $AB$ faster than simply applying the definition $AB=(\Sigma_k a_{ik}b_{kj})_{ij}$ to each entry.
Are there other efficient ways to compute the above product besides using algorithms like Strassen's algorithm?
Extra: What about computing the sum of the entries of $AB$,
$\Sigma_{i,j,k=1}^n a_{ik}b_{kj}$?