This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #define tam 8 | |
| int board[tam]; | |
| int solutions_bf, solutions_backtracking; | |
| long long brute_nodes; | |
| long long back_nodes; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <time.h> | |
| #include <assert.h> | |
| void MaxMin1(int *max, int *min, int n, int A[]); | |
| void MaxMin2(int *max, int *min, int n, int A[]); | |
| void MaxMin3(int *max, int *min, int n, int A[]); | |
| void BestCase (int A[]); |