fork download
  1. #include<stdio.h>
  2. int main(){
  3. int i,j,n;
  4. scanf("%d",&n);
  5. for(i=n;i>=1;i--){
  6. for(j=1;j<=i;j++){
  7. printf("%d",2*j-1);
  8. }
  9. printf("\n");
  10. }
  11.  
  12. return 0;
  13. }
Success #stdin #stdout 0s 5320KB
stdin
5
stdout
13579
1357
135
13
1