Wednesday, June 15, 2016

SOLUTION OF URI 1075


//  1075   (Mahmud_Jamil) BRUR
//  Remaining 2




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



0 comments:

Post a Comment