fork download
  1. #include<stdio.h>
  2. int main()
  3. {
  4. int n,m;
  5. scanf("%d %d",&m,&n);
  6. int *arr = malloc(sizeof(int)*n*m);
  7. for(int i=0;i<m*n;scanf("%d",arr+i),i++);
  8. return 0;
  9. }
Success #stdin #stdout 0s 9416KB
stdin
3 2 11 22 33 44 55 66
stdout
Standard output is empty