Skip to content

Instantly share code, notes, and snippets.

@lifez
Created March 26, 2013 16:20
Show Gist options
  • Select an option

  • Save lifez/5246767 to your computer and use it in GitHub Desktop.

Select an option

Save lifez/5246767 to your computer and use it in GitHub Desktop.
limit = int(raw_input())
Smax = int(raw_input())
ssum = 0
while limit>0:
score = input()
if score>Smax:
ssum +=1
limit -=1
else:
limit-=1
print ssum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment