Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
- #include <ctype.h>
- int main(int argc, const char * argv[]) {
- int n;
- scanf("%d", &n);
- int mat[n][n];
- for(int i = 0; i < n; i++) {
- for(int j = 0; j < n; j++) {
- scanf("%d", &mat[i][j]);
- }
- }
- int mat2[n][n];
- for(int i = 0; i < n; i++) {
- for(int j = 0; j < n; j++) {
- mat2[i][j] = mat[i][j];
- }
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement