用概率算法结合回溯思想实现n皇后问题
源代码在线查看: queen.plg
Build Log
--------------------Configuration: Queen - Win32 Debug--------------------
Command Lines
Creating temporary file "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSP17A.tmp" with contents
[
/nologo /MLd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /Fp"Debug/Queen.pch" /YX /Fo"Debug/" /Fd"Debug/" /FD /GZ /c
"D:\jdwang\Study\Queen\MSversion\Queen\queen.cpp"
]
Creating command line "cl.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSP17A.tmp"
Creating temporary file "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSP17B.tmp" with contents
[
kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /incremental:yes /pdb:"Debug/Queen.pdb" /debug /machine:I386 /out:"Debug/Queen.exe" /pdbtype:sept
.\Debug\queen.obj
.\Debug\stdafx.obj
]
Creating command line "link.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSP17B.tmp"
Output Window
Compiling...
queen.cpp
Linking...
Results
Queen.exe - 0 error(s), 0 warning(s)