diff --git a/Makefile b/Makefile index 8eb02cd..447ba31 100644 --- a/Makefile +++ b/Makefile @@ -13,10 +13,12 @@ TEST_SRC = test.c # Build assignment executable $(ASSIGNMENT): $(ASSIGNMENT_SRC) $(CC) $(CFLAGS) -o $(ASSIGNMENT) $(ASSIGNMENT_SRC) + chmod +x $(ASSIGNMENT) # Ensure the executable has proper permissions # Build and run test test: $(ASSIGNMENT) $(TEST_SRC) $(CC) $(CFLAGS) -o $(TEST) $(TEST_SRC) + chmod +x $(TEST) # Ensure test executable has proper permissions ./$(ASSIGNMENT) 5 10 ./$(TEST) diff --git a/matrix.txt b/matrix.txt index 9592245..9c32cb5 100644 --- a/matrix.txt +++ b/matrix.txt @@ -1,5 +1,5 @@ -51 46 72 65 90 67 33 68 88 16 -34 63 60 45 55 47 44 68 16 72 -5 9 86 85 22 34 78 1 53 65 -91 55 10 62 19 51 80 52 71 19 -67 56 82 79 100 36 77 96 55 93 +54 60 4 14 15 6 95 13 80 47 +42 60 78 20 49 78 12 12 85 98 +91 66 78 59 97 12 5 83 76 25 +92 81 36 47 94 2 4 40 67 83 +86 8 42 15 80 90 92 43 53 76