Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

codeforces 677a 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)
Comment

PREVIOUS NEXT
Code Example
Python :: mouse module python 
Python :: pandas casting into integer 
Python :: dask show progress bar 
Python :: python last element of list 
Python :: read_csv Unnamed: 0 
Python :: how to auto update chromedriver selenium python 
Python :: import pyttsx3 
Python :: how to change a string to small letter in python 
Python :: python random choice in list 
Python :: tkinter remove frame 
Python :: debugar python 
Python :: playsound module in python 
Python :: python code to find the length of string in a list 
Python :: scipy correlation 
Python :: discordpy 
Python :: normalize rows in matrix numpy 
Python :: how to find the version of python command linw 
Python :: pandas replace na with 0 
Python :: python print no end of line 
Python :: how to set indian timezone in django 
Python :: how to check if everything inside a list is unique 
Python :: how to log ip addresses in django 
Python :: dataframe change specicf values in column 
Python :: rightclick in pygame 
Python :: pandas change every row to df 
Python :: sqlalchemy lock row 
Python :: countplot in pandas 
Python :: selenium how to handle element not found python 
Python :: python merge two dictionaries 
Python :: how to add row in spark dataframe 
ADD CONTENT
Topic
Content
Source link
Name
2+7 =