Sir/Mam,here is my solution for the problem Enormous Input Test.The link for the problem is as given http://www.codechef.com/problems/INTEST
n,k =map(int,input().split(" ")) j=0 for i in range(n): if((int)(input()))%k==0: j=j+1 print(j)
The code works well in my system but on submitting it I get a TLE error in Python 3.1.2 . On submitting in python 2.7.2 it gave nsez error.I tried using
import sys sys.exit(0)
but in vain.Please help.