fork download
  1. #include<iostream>
  2. #include <cmath>
  3.  
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8. long long a[110000][110000];
  9. long long b[3], k, n;
  10. double x, y;
  11. long long x1, y1, x2, y2, x3, y3, x4, y4;
  12. cin >> n;
  13.  
  14. for (int i = 0; i < n; i++){
  15.  
  16. for (int j = 0; j < n; j++){
  17. cin >> a[i][j];
  18. }
  19. }
  20.  
  21. for (int i = 0; i < n; i++)
  22. {
  23. for (int j = 0; j < n; j++)
  24. {
  25. cout << a[i][j] << " ";
  26. }
  27. cout<<endl;
  28. }
  29.  
  30. return 0;
  31. }
Runtime error #stdin #stdout 0s 15232KB
stdin
3
1 2 3
4 5 6
7 8 9
stdout
Standard output is empty