0_0_14246468_17822.cpp:1:1: error: stray '\314' in program
题意:n*n棋盘要放n个皇后,要求意2个皇后不允许处在同一排,同一列,也不允许处在与棋盘边框成45角的斜线上。最多几种方案
^
0_0_14246468_17822.cpp:1:1: error: stray '\342' in program
0_0_14246468_17822.cpp:1:1: error: stray '\322' in program
0_0_14246468_17822.cpp:1:1: error: stray '\342' in program
0_0_14246468_17822.cpp:1:1: error: stray '\243' in program
0_0_14246468_17822.cpp:1:1: error: stray '\272' in program
0_0_14246468_17822.cpp:1:1: error: stray '\306' in program
0_0_14246468_17822.cpp:1:1: error: stray '\345' in program
0_0_14246468_17822.cpp:1:1: error: stray '\305' in program
0_0_14246468_17822.cpp:1:1: error: stray '\314' in program
0_0_14246468_17822.cpp:1:1: error: stray '\322' in program
0_0_14246468_17822.cpp:1:1: error: stray '\252' in program
0_0_14246468_17822.cpp:1:1: error: stray '\267' in program
0_0_14246468_17822.cpp:1:1: error: stray '\305' in program
0_0_14246468_17822.cpp:1:1: error: stray '\270' in program
0_0_14246468_17822.cpp:1:1: error: stray '\366' in program
0_0_14246468_17822.cpp:1:1: error: stray '\273' in program
0_0_14246468_17822.cpp:1:1: error: stray '\312' in program
0_0_14246468_17822.cpp:1:1: error: stray '\272' in program
0_0_14246468_17822.cpp:1:1: error: stray '\363' in program
0_0_14246468_17822.cpp:1:1: error: stray '\243' in program
0_0_14246468_17822.cpp:1:1: error: stray '\254' in program
0_0_14246468_17822.cpp:1:1: error: stray '\322' in program
0_0_14246468_17822.cpp:1:1: error: stray '\252' in program
0_0_14246468_17822.cpp:1:1: error: stray '\307' in program
0_0_14246468_17822.cpp:1:1: error: stray '\363' in program
0_0_14246468_17822.cpp:1:1: error: stray '\322' in program
0_0_14246468_17822.cpp:1:1: error: stray '\342' in program
0_0_14246468_17822.cpp:1:1: error: stray '\270' in program
0_0_14246468_17822.cpp:1:1: error: stray '\366' in program
0_0_14246468_17822.cpp:1:1: error: stray '\273' in program
0_0_14246468_17822.cpp:1:1: error: stray '\312' in program
0_0_14246468_17822.cpp:1:1: error: stray '\272' in program
0_0_14246468_17822.cpp:1:1: error: stray '\363' in program
0_0_14246468_17822.cpp:1:1: error: stray '\262' in program
0_0_14246468_17822.cpp:1:1: error: stray '\273' in program
0_0_14246468_17822.cpp:1:1: error: stray '\324' in program
0_0_14246468_17822.cpp:1:1: error: stray '\312' in program
0_0_14246468_17822.cpp:1:1: error: stray '\320' in program
0_0_14246468_17822.cpp:1:1: error: stray '\355' in program
0_0_14246468_17822.cpp:1:1: error: stray '\264' in program
0_0_14246468_17822.cpp:1:1: error: stray '\246' in program
0_0_14246468_17822.cpp:1:1: error: stray '\324' in program
0_0_14246468_17822.cpp:1:1: error: stray '\332' in program
0_0_14246468_17822.cpp:1:1: error: stray '\315' in program
0_0_14246468_17822.cpp:1:1: error: stray '\254' in program
0_0_14246468_17822.cpp:1:1: error: stray '\322' in program
0_0_14246468_17822.cpp:1:1: error: stray '\273' in program
0_0_14246468_17822.cpp:1:1: error: stray '\305' in program
0_0_14246468_17822.cpp:1:1: error: stray '\305' in program
0_0_14246468_17822.cpp:1:1: error: stray '\243' in program
0_0_14246468_17822.cpp:1:1: error: stray '\254' in program
0_0_14246468_17822.cpp:1:1: error: stray '\315' in program
0_0_14246468_17822.cpp:1:1: error: stray '\254' in program
0_0_14246468_17822.cpp:1:1: error: stray '\322' in program
0_0_14246468_17822.cpp:1:1: error: stray '\273' in program
0_0_14246468_17822.cpp:1:1: error: stray '\301' in program
0_0_14246468_17822.cpp:1:1: error: stray '\320' in program
0_0_14246468_17822.cpp:1:1: error: stray '\243' in program
0_0_14246468_17822.cpp:1:1: error: stray '\254' in program
0_0_14246468_17822.cpp:1:1: error: stray '\322' in program
0_0_14246468_17822.cpp:1:1: error: stray '\262' in program
0_0_14246468_17822.cpp:1:1: error: stray '\262' in program
0_0_14246468_17822.cpp:1:1: error: stray '\273' in program
0_0_14246468_17822.cpp:1:1: error: stray '\324' in program
0_0_14246468_17822.cpp:1:1: error: stray '\312' in program
0_0_14246468_17822.cpp:1:1: error: stray '\320' in program
0_0_14246468_17822.cpp:1:1: error: stray '\355' in program
0_0_14246468_17822.cpp:1:1: error: stray '\264' in program
0_0_14246468_17822.cpp:1:1: error: stray '\246' in program
0_0_14246468_17822.cpp:1:1: error: stray '\324' in program
0_0_14246468_17822.cpp:1:1: error: stray '\332' in program
0_0_14246468_17822.cpp:1:1: error: stray '\323' in program
0_0_14246468_17822.cpp:1:1: error: stray '\353' in program
0_0_14246468_17822.cpp:1:1: error: stray '\306' in program
0_0_14246468_17822.cpp:1:1: error: stray '\345' in program
0_0_14246468_17822.cpp:1:1: error: stray '\305' in program
0_0_14246468_17822.cpp:1:1: error: stray '\314' in program
0_0_14246468_17822.cpp:1:1: error: stray '\261' in program
0_0_14246468_17822.cpp:1:1: error: stray '\337' in program
0_0_14246468_17822.cpp:1:1: error: stray '\277' in program
0_0_14246468_17822.cpp:1:1: error: stray '\362' in program
0_0_14246468_17822.cpp:1:1: error: stray '\263' in program
0_0_14246468_17822.cpp:1:1: error: stray '\311' in program
0_0_14246468_17822.cpp:1:1: error: stray '\275' in program
0_0_14246468_17822.cpp:1:1: error: stray '\307' in program
0_0_14246468_17822.cpp:1:1: error: stray '\265' in program
0_0_14246468_17822.cpp:1:1: error: stray '\304' in program
0_0_14246468_17822.cpp:1:1: error: stray '\320' in program
0_0_14246468_17822.cpp:1:1: error: stray '\261' in program
0_0_14246468_17822.cpp:1:1: error: stray '\317' in program
0_0_14246468_17822.cpp:1:1: error: stray '\337' in program
0_0_14246468_17822.cpp:1:1: error: stray '\311' in program
0_0_14246468_17822.cpp:1:1: error: stray '\317' in program
0_0_14246468_17822.cpp:1:1: error: stray '\241' in program
0_0_14246468_17822.cpp:1:1: error: stray '\243' in program
0_0_14246468_17822.cpp:1:1: error: stray '\327' in program
0_0_14246468_17822.cpp:1:1: error: stray '\356' in program
0_0_14246468_17822.cpp:1:1: error: stray '\266' in program
0_0_14246468_17822.cpp:1:1: error: stray '\340' in program
0_0_14246468_17822.cpp:1:1: error: stray '\274' in program
0_0_14246468_17822.cpp:1:1: error: stray '\270' in program
0_0_14246468_17822.cpp:1:1: error: stray '\326' in program
0_0_14246468_17822.cpp:1:1: error: stray '\326' in program
0_0_14246468_17822.cpp:1:1: error: stray '\267' in program
0_0_14246468_17822.cpp:1:1: error: stray '\275' in program
0_0_14246468_17822.cpp:1:1: error: stray '\260' in program
0_0_14246468_17822.cpp:1:1: error: stray '\270' in program
0_0_14246468_17822.cpp:2:1: error: stray '\310' in program
如:
^
0_0_14246468_17822.cpp:2:1: error: stray '\347' in program
0_0_14246468_17822.cpp:2:1: error: stray '\243' in program
0_0_14246468_17822.cpp:2:1: error: stray '\272' in program
0_0_14246468_17822.cpp:48:1: error: stray '\273' in program
hang[i]=0;回溯
^
0_0_14246468_17822.cpp:48:1: error: stray '\330' in program
0_0_14246468_17822.cpp:48:1: error: stray '\313' in program
0_0_14246468_17822.cpp:48:1: error: stray '\335' in program
0_0_14246468_17822.cpp:1:7: error: 'n' does not name a type
题意:n*n棋盘要放n个皇后,要求意2个皇后不允许处在同一排,同一列,也不允许处在与棋盘边框成45角的斜线上。最多几种方案
^
0_0_14246468_17822.cpp: In function 'int main()':
0_0_14246468_17822.cpp:57:25: error: 'memset' was not declared in this scope
memset(map,0,sizeof(map));
^
|