SOLUTION OF URI 1157 URI SOLUTIONS No comments // 1157 (Mahmud_Jamil) BRUR // Divisors I #include <stdio.h>int main(){ int N,a; scanf("%d",&N); for(a=1;a<=N;a++) { if(N%a==0) printf("%d\n",a); } return 0;} Share This: Facebook Twitter Google+ Stumble Digg Email ThisBlogThis!Share to XShare to Facebook
0 comments:
Post a Comment