fork download
  1. #include<stdio.h>
  2.  
  3. int main()
  4. {
  5. int a[10];
  6. int s,i;
  7. for(i=0;i<10;i++){
  8. scanf("%d",&s);
  9. printf("a[%d]=%d",i,s);
  10. }
  11.  
  12. return 0;
  13. }
Success #stdin #stdout 0.01s 5292KB
stdin
3
4
5
6
7https://i...content-available-to-author-only...e.com/NOhFSh#
3
5
6
4
stdout
a[0]=3a[1]=4a[2]=5a[3]=6a[4]=7a[5]=7a[6]=7a[7]=7a[8]=7a[9]=7