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
Rafael da Silva Carrasco:
20110419 23:47:37
Didn't like this one... It's not about coding skills, but about which functions are faster. 

osb:
20110401 15:25:26
How to quick read data In c++;


YatsukoYin:
20100627 15:25:14
Hi all!


Daniel Macintyre:
20100614 16:46:31
I got it! I was using iostream data inputs and outputs before. When I switched to stdio.h methods it worked! 

Burdakov Daniel:
20100421 16:30:37
It seems that input is 25Mb, not 2.5Mb)


Jorat:
20100227 20:22:54
>sankalp srivastava


vivek:
20100209 18:37:20
this problem has to be divided into three steps , firstly how to store large numbers , then perform mathematical operations upon them

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 