You are viewing a single comment's thread. Return to all comments →
res=[] for query in queries: res.append( (l*math.sqrt(2)-math.sqrt(query)*math.sqrt(2))/(abs(s1-s2)) ) return res
Seems like cookies are disabled on this browser, please enable them to open this website
An unexpected error occurred. Please try reloading the page. If problem persists, please contact support@hackerrank.com
Sherlock and Moving Tiles
You are viewing a single comment's thread. Return to all comments →