Dear all,
I tried to use python 3.1.2 to solve problem 245 SQRROOT. It seems that python has a very easy solution to this problem. But I just kept getting WA.
Could you tell me what is wrong with my code? Thanks a lot!
from sys import stdin, stdout
import decimal
def main():
numOfTimes = int(stdin.readline())
for i in range(numOfTimes):
d = decimal.Decimal(stdin.readline())
print(d.sqrt())
if __name__ == '__main__':
main()