graphprogram/main.c

17 lines
431 B
C
Raw Normal View History

2024-09-26 14:32:20 +02:00
#include "graph.h"
#include "matrix.h"
#include <stdint.h>
int main(void) {
2024-10-03 12:48:22 +02:00
const uint64_t row_length = 5;
const uint64_t column_length = 5;
uint64_t matrix1[row_length][column_length];
uint64_t matrix2[row_length*2][column_length*2];
2024-09-26 14:32:20 +02:00
2024-10-03 12:48:22 +02:00
random_adjacency(row_length, column_length, matrix1);
random_adjacency(row_length*2, column_length*2, matrix2);
2024-09-26 14:32:20 +02:00
2024-10-03 12:48:22 +02:00
print_matrix(row_length, column_length, matrix1);
2024-09-26 14:32:20 +02:00
}