fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int n;
  6. cin >> n;
  7. int a[n][n];
  8. for(int i = 0; i < n; i++){
  9. for(int j = 0;j < n; j++){
  10. cin >> a[i][j];
  11. }
  12. }
  13. for(int i = 0; i < n; i++){
  14. cout << endl;
  15. }
  16. return 0;
  17. }
  18.  
Success #stdin #stdout 0.01s 5320KB
stdin
2
1 1
2 2
stdout