记录详情

Compile Error

/in/foo.cc:43:11: error: stray '\342' in program
     scanf(“%d”, &n); 
           ^
/in/foo.cc:43:12: error: stray '\200' in program
     scanf(“%d”, &n); 
            ^
/in/foo.cc:43:13: error: stray '\234' in program
     scanf(“%d”, &n); 
             ^
/in/foo.cc:43:16: error: stray '\342' in program
     scanf(“%d”, &n); 
                ^
/in/foo.cc:43:17: error: stray '\200' in program
     scanf(“%d”, &n); 
                 ^
/in/foo.cc:43:18: error: stray '\235' in program
     scanf(“%d”, &n); 
                  ^
/in/foo.cc:47:15: error: stray '\342' in program
         scanf(“%d”, &b); 
               ^
/in/foo.cc:47:16: error: stray '\200' in program
         scanf(“%d”, &b); 
                ^
/in/foo.cc:47:17: error: stray '\234' in program
         scanf(“%d”, &b); 
                 ^
/in/foo.cc:47:20: error: stray '\342' in program
         scanf(“%d”, &b); 
                    ^
/in/foo.cc:47:21: error: stray '\200' in program
         scanf(“%d”, &b); 
                     ^
/in/foo.cc:47:22: error: stray '\235' in program
         scanf(“%d”, &b); 
                      ^
/in/foo.cc:49:40: error: stray '\342' in program
         for(j = 0; j < 8; j++)  printf(“%d”, ans[b - 1][j]); 
                                        ^
/in/foo.cc:49:41: error: stray '\200' in program
         for(j = 0; j < 8; j++)  printf(“%d”, ans[b - 1][j]); 
                                         ^
/in/foo.cc:49:42: error: stray '\234' in program
         for(j = 0; j < 8; j++)  printf(“%d”, ans[b - 1][j]); 
                                          ^
/in/foo.cc:49:45: error: stray '\342' in program
         for(j = 0; j < 8; j++)  printf(“%d”, ans[b - 1][j]); 
                                             ^
/in/foo.cc:49:46: error: stray '\200' in program
         for(j = 0; j < 8; j++)  printf(“%d”, ans[b - 1][j]); 
                                              ^
/in/foo.cc:49:47: error: stray '\235' in program
         for(j = 0; j < 8; j++)  printf(“%d”, ans[b - 1][j]); 
                                               ^
/in/foo.cc:51:16: error: stray '\342' in program
         printf(“\n”); 
                ^
/in/foo.cc:51:17: error: stray '\200' in program
         printf(“\n”); 
                 ^
/in/foo.cc:51:18: error: stray '\234' in program
         printf(“\n”); 
                  ^
/in/foo.cc:51:19: error: stray '\' in program
         printf(“\n”); 
                   ^
/in/foo.cc:51:21: error: stray '\342' in program
         printf(“\n”); 
                     ^
/in/foo.cc:51:22: error: stray '\200' in program
         printf(“\n”); 
                      ^
/in/foo.cc:51:23: error: stray '\235' in program
         printf(“\n”); 
                       ^
/in/foo.cc:37:12: error: '::main' must return 'int'
 void main( ){ 
            ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:43:14: error: expected primary-expression before '%' token
     scanf(“%d”, &n); 
              ^
/in/foo.cc:43:15: error: 'd' was not declared in this scope
     scanf(“%d”, &n); 
               ^
/in/foo.cc:47:18: error: expected primary-expression before '%' token
         scanf(“%d”, &b); 
                  ^
/in/foo.cc:49:43: error: expected primary-expression before '%' token
         for(j = 0; j < 8; j++)  printf(“%d”, ans[b - 1][j]); 
                                           ^
/in/foo.cc:51:24: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
         printf(“\n”); 
                        ^
In file included from /in/foo.cc:1:0:
/usr/include/stdio.h:364:12: note:   initializing argument 1 of 'int printf(const char*, ...)'
 extern int printf (const char *__restrict __format, ...);
            ^~~~~~

信息

递交者
类型
递交
题目
八皇后问题
题目数据
下载
语言
C++
递交时间
2019-01-04 20:29:05
评测时间
2019-01-04 20:29:05
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes