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