You are viewing a single comment's thread. Return to all comments →
import math l,s1,s2 = map(int,raw_input().split()) n = input() q = [] for i in range(n): q.append(input()) rel = abs(s1*math.sin(math.radians(45))-s2*math.sin(math.radians(45))) for qi in q: if qi==(l**2): print 0.0000000 else: print format((l-math.sqrt(qi))/rel,'.20f')
Test Case 4 is still coming wrong
Seems like cookies are disabled on this browser, please enable them to open this website
Sherlock and Moving Tiles
You are viewing a single comment's thread. Return to all comments →
Test Case 4 is still coming wrong