Barua Skywatcher Get link Facebook X Pinterest Email Other Apps Source Code n=int(input()) c=0 for i in range(n): a,b=map(int,input().split()) if(a>0 and b>0): c+=1 print("{:.6f}".format(c/n)) Comments
Comments
Post a Comment