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