summaryrefslogtreecommitdiff
path: root/src/03/matrix.c
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-09-26 20:10:19 -0600
committermo khan <mo.khan@gmail.com>2020-09-26 20:10:19 -0600
commitcf2dec12cbba79d427343436a0b1aedfb8294120 (patch)
tree958e27516255cc0f98494d5df0c2b8b0ef9cb54c /src/03/matrix.c
parent4090ab734dafb584fc7d2b882fdcd9e7093463a1 (diff)
style: run cclang formatter
Diffstat (limited to 'src/03/matrix.c')
-rw-r--r--src/03/matrix.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/03/matrix.c b/src/03/matrix.c
index 752eabd..9398cae 100644
--- a/src/03/matrix.c
+++ b/src/03/matrix.c
@@ -1,15 +1,9 @@
#include <stdio.h>
#include <stdlib.h>
-char labels[26] = {
- 'a', 'b', 'c', 'd',
- 'e', 'f', 'g', 'h',
- 'i', 'j', 'k', 'l',
- 'm', 'n', 'o', 'p',
- 'q', 'r', 's', 't',
- 'u', 'v', 'w', 'x',
- 'y', 'z'
-};
+char labels[26] = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i',
+ 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r',
+ 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'};
void matrix_traverse(int n, int graph[n][n], int visited[n], int vertex) {
printf("->(%c)", labels[vertex]);