✔ 最佳答案
It depends on if it treats it as:
(-5)² or -(5²)
(-5)² is +25, -(5²) would be -25.
EDIT: Answer keys may have errors in it. I've seen it happen, and once it's found, good teachers will not it and let the kids know next time the book is used so they're made aware of it.