fork(3) download
  1. #include <stdio.h>
  2. #include <cs50.h>
  3.  
  4. int main(void)
  5. {
  6. int x = 3;
  7. int y = 3;
  8. int num[x][y];
  9.  
  10. /* загрузка чисел */
  11. for(int row=0; row<3; row++)
  12. for (int col=0; col<3; col++)
  13. num[row][col] = GetInt();
  14.  
  15. /* вывод чисел */
  16. for (int row=0; row<3; row++) {
  17. for (int col=0; col<3; col++) {
  18. printf("[%d] ", num[row][col]);
  19. }
  20. printf ("\n");
  21. }
  22. }
Internal error #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty