Wednesday, June 15, 2016

SOLUTION OF URI 1070


// 1070  (Mahmud_Jamil) BRUR
//  Six Odd Numbers



#include<stdio.h>
int main()
{
    int i,n;
    scanf("%d",&n);
    if(n%2==0)
        n=n+1;
    else
        n=n;
    printf("%d\n",n);
    for(i=1;i<=5;i++)
    printf("%d\n",n+=2);
    return 0;
}


0 comments:

Post a Comment