# Enormous Input Test | Codechef solution

__ Problem (Enormous Input Test | Codechef solution):-__

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 of Enormous Input Test | Codechef solution

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 of Enormous Input Test | Codechef solution

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

__Code:-__

#include<bits/stdc++.h> using namespace std; int main() { int n,k,t; cin>>n>>k; int count=0; while(n--) { cin>>t; if(t%k==0) count++; } cout<<count; return 0; }

__Recommended Post:-__

__codechef problems:-__

__Wipro :-__

- Update the booking ID | Wipro previous year question paper solution
- Pages in PDF
- Find the location id
- Find the odd digits
- Find the Product ID

__Infytq :-__

__Key Points;-__

__Hackerrank:-__

- Python : missing characters : hackerrank solution
- Python : string transformation | Hackerrank solution
- Active Traders certification test problem | Hackerrank Solution
- Usernames changes certification test problem | Hackerrank Solution
- string Representation of objects certification test hackerrank solution
- Average Function | hackerrank certification problem solution

__C-tutorial:-__

- Micros in C
- Pointer in c
- Function declaration
- Types of user define function
- return type of function
- 2D array

__See more:-__

- c program to convert specified days into years weeks and days

- Print Reverse Hollow Pyramid
- Update the booking ID | Wipro previous year question paper
- Pages in PDF | Wipro previous year question paper
- Sparse Matrix in data structure
- Find the location ID | Wipro previous year Coding question
- find the odd digits | Wipro Coding question
- Find the product id | Wipro Coding question
- Difference between static and dynamic memory allocation
- What is asymptotic Notation