INTEST  Enormous Input Test
The purpose of this problem is to verify whether the method you are using to read input data is sufficiently fast to handle problems branded with the enormous Input/Output warning. You are expected to be able to process at least 2.5MB of input data per second at runtime.
Input
The input begins with two positive integers n k (n, k<=10^{7}). The next n lines of input contain one positive integer t_{i}, not greater than 10^{9}, each.
Output
Write a single integer to output, denoting how many integers t_{i} are divisible by k.
Example
Input: 7 3 1 51 966369 7 9 999996 11 Output: 4
hide comments
vashisth:
20150427 15:39:31
1.Use scanf printf instead of cin and cout (c++)


Kevin Zheng:
20150328 04:04:15
Exceeded time limit with Python 3, but resubmitted with PyPy and ran in 2.36 seconds! 

Przemek Komosa:
20150223 20:28:05
0.34 in Go 1.4 without syscall 

Anubhav Balodhi :
20141024 10:30:30
Is psyco there on SPOJ ?? 

shreya sahu:
20140811 18:47:12
did it with C++ in 5.62s. how to improve it further?


Sahil Dua:
20140712 11:24:48
I got AC in 5.57s while using nothing special as such in C. How can I improve it?


setu basak:
20140516 13:55:46
you can use getchar_unlocked() function..it will give u less than 1 second 

Rafael Perrella:
20140209 08:57:49
How to get 0.5s in C/C++? I can't make it go lower than 0.7s... 

Shashank Gupta:
20131110 17:41:50
@numerix OK I'll look, thanks. :) 

numerix:
20131110 17:33:11
@Shashank Gupta: You will find some hints according this question on the SPOJ forum (Python subforum). If you do not find what you are looking for, you may ask there. 
Added by:  adrian 
Date:  20041109 
Time limit:  2.112s 
Source limit:  50000B 
Memory limit:  1536MB 
Cluster:  Cube (Intel G860) 
Languages:  All except: NODEJS PERL6 VB.NET 
Resource:  Idea put forward by Michael Mendelsohn 