0_0_25119155_11299.cpp:1:2: error: stray '\261' in program
v[i] = x 表示把第 i 个皇后放在了 第 x 列
^
0_0_25119155_11299.cpp:1:2: error: stray '\355' in program
0_0_25119155_11299.cpp:1:2: error: stray '\312' in program
0_0_25119155_11299.cpp:1:2: error: stray '\276' in program
0_0_25119155_11299.cpp:1:2: error: stray '\260' in program
0_0_25119155_11299.cpp:1:2: error: stray '\321' in program
0_0_25119155_11299.cpp:1:2: error: stray '\265' in program
0_0_25119155_11299.cpp:1:2: error: stray '\332' in program
0_0_25119155_11299.cpp:1:2: error: stray '\270' in program
0_0_25119155_11299.cpp:1:2: error: stray '\366' in program
0_0_25119155_11299.cpp:1:2: error: stray '\273' in program
0_0_25119155_11299.cpp:1:2: error: stray '\312' in program
0_0_25119155_11299.cpp:1:2: error: stray '\272' in program
0_0_25119155_11299.cpp:1:2: error: stray '\363' in program
0_0_25119155_11299.cpp:1:2: error: stray '\267' in program
0_0_25119155_11299.cpp:1:2: error: stray '\305' in program
0_0_25119155_11299.cpp:1:2: error: stray '\324' in program
0_0_25119155_11299.cpp:1:2: error: stray '\332' in program
0_0_25119155_11299.cpp:1:2: error: stray '\301' in program
0_0_25119155_11299.cpp:1:2: error: stray '\313' in program
0_0_25119155_11299.cpp:1:2: error: stray '\265' in program
0_0_25119155_11299.cpp:1:2: error: stray '\332' in program
0_0_25119155_11299.cpp:1:2: error: stray '\301' in program
0_0_25119155_11299.cpp:1:2: error: stray '\320' in program
0_0_25119155_11299.cpp:1:2: error: 'v' does not name a type
0_0_25119155_11299.cpp: In function 'int main()':
0_0_25119155_11299.cpp:27:22: error: 'n' was not declared in this scope
while(~scanf("%d", &n) && n){
^
0_0_25119155_11299.cpp:27:23: error: 'scanf' was not declared in this scope
while(~scanf("%d", &n) && n){
^
0_0_25119155_11299.cpp:28:3: error: 'ans' was not declared in this scope
ans = 0;
^
0_0_25119155_11299.cpp:29:10: error: 'a' was not declared in this scope
memset(a, 0, sizeof a);
^
0_0_25119155_11299.cpp:29:24: error: 'memset' was not declared in this scope
memset(a, 0, sizeof a);
^
0_0_25119155_11299.cpp:30:10: error: 'v' was not declared in this scope
memset(v, 0, sizeof v);
^
0_0_25119155_11299.cpp:31:8: error: 'fun' was not declared in this scope
fun(1);
^
0_0_25119155_11299.cpp:32:21: error: 'printf' was not declared in this scope
printf("%d\n", ans);
^
|