Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

enormous input test codechef solution

try:
  n,k=map(int,input().split())
  count=0
  for i in range(n):
    x=int(input())
    if x%k==0:
      count+=1
   print(count)
 except:
  pass
Comment

PREVIOUS NEXT
Code Example
Python :: transpose matrice numpy 
Python :: recursion python examples 
Python :: Python - How To Concatenate List of String 
Python :: python list remove duplicates keep order 
Python :: python convert string to float 
Python :: index of and last index of in python 
Python :: NumPy roll Syntax 
Python :: How to Get the length of all items in a list of lists in Python 
Python :: python class without init 
Python :: How to change the title of a console app in python 
Python :: python how to make a png 
Python :: random.randint(0,20) + pyrthon 
Python :: get first digit of number 
Python :: lower and upper case user input python 
Python :: how to register a model in django 
Python :: python mongodump 
Python :: jupyter notebook not opening 
Python :: decimal to binary 
Python :: convert 2 lists into dictionary 
Python :: implement stack using list in python 
Python :: Convert a Pandas Column of Timestamps to Datetimes 
Python :: python strip() 
Python :: How to Add a overall Title to Seaborn Plots 
Python :: numpy argsort 
Python :: check if string is python 
Python :: python foreach 2d array 
Python :: Counter() Function 
Python :: time a function python 
Python :: replace nan in pandas column with mode and printing it 
Python :: precision accuracy recall python example 
ADD CONTENT
Topic
Content
Source link
Name
9+4 =