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