Facebook
From Hrishikesh Saha, 1 Year ago, written in Python.
Embed
Download Paste or View Raw
Hits: 103
  1. t = int(input())
  2. for i in range(t):
  3.     a,b,c,d = list(map(int, input().split()))
  4.     f = 0
  5.     if a<b:
  6.         f+=1
  7.     if a<c:
  8.         f+=1
  9.     if a<d:
  10.         f+=1
  11.  
  12.     print(f)