ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1001. Reverse Root

Please help me, what is wrong?
Posted by ARE 10 May 2020 12:13
a = list(map(int,input().split()))
n = len(a)
for i in range(n-1,-1,-1):
    print("%.4f" % pow(a[i],1/2))
Re: Please help me, what is wrong?
Posted by bilibilitdasc 18 Jul 2021 19:02
pow(a,b) in Python means the power of integer a and integer b (a^b)
use a**b in Python instead.