Linear Algebra - Hacker Rank Solution
This can be solved using the linalg.det
tool.
import numpy
print numpy.linalg.det([ map(float, raw_input().split()) for i in range(int(raw_input()))])
We guarantee you won't get any other SPAM
No comments:
Post a Comment