All In One
একের ভিতর সব
Thursday, June 23, 2016
SOLUTION OF URI 1157
// 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;
}
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment