fork download
  1. int main() {
  2. const int height = 10, width = 10;
  3. int a[height] = {1};
  4. int b[width] = {2};
  5. for(int y=0; y<height; ++y)
  6. {
  7. for(int x=0; x<width; ++x)
  8. b[y,x] = a[y,x];
  9. }
  10. return 0;
  11. }
Success #stdin #stdout 0.01s 2720KB
stdin
Standard input is empty
stdout
Standard output is empty