remove debug info
This commit is contained in:
parent
edba643719
commit
bd4dc369ff
1 changed files with 0 additions and 4 deletions
|
@ -19,7 +19,6 @@ void load_matrix(FILE * file) {
|
||||||
int find_min_index(int arr[], size_t size) {
|
int find_min_index(int arr[], size_t size) {
|
||||||
int index = -1;
|
int index = -1;
|
||||||
int min = arr[0];
|
int min = arr[0];
|
||||||
// if (!min) { min = arr[1]; index = 1; }
|
|
||||||
for (int j = 0; j < size; j++) {
|
for (int j = 0; j < size; j++) {
|
||||||
if (arr[j]) {
|
if (arr[j]) {
|
||||||
min = arr[j];
|
min = arr[j];
|
||||||
|
@ -78,9 +77,6 @@ int main(void) {
|
||||||
|
|
||||||
load_matrix(file);
|
load_matrix(file);
|
||||||
find_closest_path_from(1); // 1 - oradea;
|
find_closest_path_from(1); // 1 - oradea;
|
||||||
// print_matrix();
|
|
||||||
|
|
||||||
// printf("%d\n", find_min_index(city_distance[1], 5));
|
|
||||||
|
|
||||||
if ( fclose(file) ) {
|
if ( fclose(file) ) {
|
||||||
perror("File can't be closed!");
|
perror("File can't be closed!");
|
||||||
|
|
Loading…
Reference in a new issue