Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

codeforces 677a python solution

n,h=map(int,input().split())
list_of_inputs=list(map(int,input().split()))
summation =0

for i in range(n):
    if list_of_inputs[i]>h :
        summation=summation+1
        
    summation=summation+1
    
print(summation)
Source by github.com #
 
PREVIOUS NEXT
Tagged: #codeforces #python #solution
ADD COMMENT
Topic
Name
2+7 =