This commit is contained in:
2025-09-04 19:17:52 +02:00
commit 2b05f07c1f
2 changed files with 213 additions and 0 deletions

12
adj_matrix.c Normal file
View File

@@ -0,0 +1,12 @@
#include "common.h"
int main(int argc, char **argv) {
char buf[512];
char *dest;
while (( dest = slowgraph_next_edge(stdin, buf, slowgraph_lenof(buf), 0) )) {
printf("%s -> %s\n", buf, dest);
}
return 0;
}