Ahh....very tricky and very nice

The range of the integers are 2^32 <= Mij <= 2^32, so you must use long long int. I got Wrong Answer twice because of this

. And remember to include a '.' at the end of all your results. Also remember that if any of the numbers is negative, then the matrix is non-symmetrical. For example:
- Code: Select all
1
N = 3
-5 -1 -3
-2 0 -2
-3 -1 -5
The result for this one is non-symmetrical.