Ledger Nano X - The secure hardware wallet


a guest Mar 28th, 2020 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. a,b,c,y=0,-100000,1000000,[]
  2. for i in range(int(input())):
  3.   y=map(int,input().split())
  4.   print(y)
  5.   if y[0]>b and y[1]==0:
  6.     b=y[0]
  7.   if y[0]<c and y[1]==0:
  8.     c=y[0]
  9.   if abs(y[1])>a:
  10.     a=y[1]
  11. print(abs(b-c)*0.5*a)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand