- Data structs
- File Size:
- Uploaded by:
Description: (1) please program to screen out 12 independent solutions from all 92 feasible solutions of the n- queens problem, and the rest of the solutions can be obtained by these independent solutions using symmetry or rotation.
(2) if the queen n- problem requires that the algorithm be terminated after the first feasible solution is obtained, please program it.
Hint: whether the first feasible solution can be obtained by using the flag logo. According to the value of flag, it is decided whether to continue to call the layer or directly return to the upper calling point.
(Click to check if it's the file you need, and recomment it at the bottom):
|八皇后.cpp|| 4243 || 2018-05-18
|八皇后.exe|| 1050149 || 2018-05-18
|八皇后.o|| 4468 || 2018-05-18|