Created
October 8, 2016 18:52
-
-
Save RakshithNM/07548e05caad5bc27ac6de654939e98b to your computer and use it in GitHub Desktop.
ENORMOUS INPUT TEST - https://www.codechef.com/problems/INTEST
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
x, y = raw_input().split() | |
x = int(x) | |
y = int(y) | |
ins = [] | |
while x > 0: | |
ins.append(int(raw_input())) | |
x -= 1 | |
count = 0 | |
for a in ins: | |
if a % y == 0: | |
count += 1 | |
else: | |
continue | |
print count |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment