fork download
  1. #include <stdio.h>
  2.  
  3. int main(void){
  4.  
  5. int i,a[10]={1,2,4,6,8,9,12,15,149,156};
  6.  
  7.  
  8. for(i=0;i<10;i++){
  9. printf("%5d",a[i]);
  10.  
  11. }
  12.  
  13. return 0;
  14.  
  15.  
  16.  
  17. }
Success #stdin #stdout 0.01s 5276KB
stdin
6
stdout
    1    2    4    6    8    9   12   15  149  156