Why allways tme exceed error arises.....?

time-limit

#1

t=raw_input()
pos=t.find(" ")
num1=t[:pos]
num2=t[pos+1:]
count=0
num1=int(num1)
num2=int(num2)
i=0
while i<num1:
numbers=input()
if numbers%num2==0:
count=count+1
i=i+1
print count


#2

Please post the link to the question in your query. Otherwise we cannot help.


#3

http://www.codechef.com/problems/INTEST

The problem stated “to verify whether the method you are using to read input data is sufficiently fast”.
Try fast input methods.


#4

Use int(raw_input()) instead of input() as input is considerably slower.