Quantcast
Channel: CodeChef Discuss - latest questions
Viewing all articles
Browse latest Browse all 40121

Why allways tme exceed error arises.....?

$
0
0

t=raw_input() pos=t.find(" ") num1=t[:pos] num2=t[pos+1:] count=0 num1=int(num1) num2=int(num2) i=0 while i<num1: numbers=input() if numbers%num2==0: count=count+1 i=i+1 print count


Viewing all articles
Browse latest Browse all 40121

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>