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