
import sys
import psyco #一键优化库
psyco.full() def main():
n, k = map(int, sys.stdin.readline().strip().split()) #两位数输入的复用
count = 0
for t in sys.stdin: #注意这个for循环方式
if int(t) % k == 0:
count += 1
print '%d' % count #注意格式输出 main() #写成函数的格式是一个良好的习惯
学到
python强大
有一键算法优化的库
复用
map这种
循环控制
格式输出
函数构成
错误
++和C里面的不一样