记录详情

Compile Error

/in/foo.cc:18:10: error: stray '\342' in program
    scanf(”%d”, &n);  
          ^
/in/foo.cc:18:11: error: stray '\200' in program
    scanf(”%d”, &n);  
           ^
/in/foo.cc:18:12: error: stray '\235' in program
    scanf(”%d”, &n);  
            ^
/in/foo.cc:18:15: error: stray '\342' in program
    scanf(”%d”, &n);  
               ^
/in/foo.cc:18:16: error: stray '\200' in program
    scanf(”%d”, &n);  
                ^
/in/foo.cc:18:17: error: stray '\235' in program
    scanf(”%d”, &n);  
                 ^
/in/foo.cc:21:15: error: stray '\342' in program
         scanf(”%d”, &ith);  
               ^
/in/foo.cc:21:16: error: stray '\200' in program
         scanf(”%d”, &ith);  
                ^
/in/foo.cc:21:17: error: stray '\235' in program
         scanf(”%d”, &ith);  
                 ^
/in/foo.cc:21:20: error: stray '\342' in program
         scanf(”%d”, &ith);  
                    ^
/in/foo.cc:21:21: error: stray '\200' in program
         scanf(”%d”, &ith);  
                     ^
/in/foo.cc:21:22: error: stray '\235' in program
         scanf(”%d”, &ith);  
                      ^
/in/foo.cc:23:19: error: stray '\342' in program
            printf(”%d”, queenPlaces[ith - 1][j]);  
                   ^
/in/foo.cc:23:20: error: stray '\200' in program
            printf(”%d”, queenPlaces[ith - 1][j]);  
                    ^
/in/foo.cc:23:21: error: stray '\235' in program
            printf(”%d”, queenPlaces[ith - 1][j]);  
                     ^
/in/foo.cc:23:24: error: stray '\342' in program
            printf(”%d”, queenPlaces[ith - 1][j]);  
                        ^
/in/foo.cc:23:25: error: stray '\200' in program
            printf(”%d”, queenPlaces[ith - 1][j]);  
                         ^
/in/foo.cc:23:26: error: stray '\235' in program
            printf(”%d”, queenPlaces[ith - 1][j]);  
                          ^
/in/foo.cc:24:16: error: stray '\342' in program
         printf(”\n”);  
                ^
/in/foo.cc:24:17: error: stray '\200' in program
         printf(”\n”);  
                 ^
/in/foo.cc:24:18: error: stray '\235' in program
         printf(”\n”);  
                  ^
/in/foo.cc:24:19: error: stray '\' in program
         printf(”\n”);  
                   ^
/in/foo.cc:24:21: error: stray '\342' in program
         printf(”\n”);  
                     ^
/in/foo.cc:24:22: error: stray '\200' in program
         printf(”\n”);  
                      ^
/in/foo.cc:24:23: error: stray '\235' in program
         printf(”\n”);  
                       ^
/in/foo.cc:8:11: error: '::main' must return 'int'
 void main()  
           ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:18:13: error: expected primary-expression before '%' token
    scanf(”%d”, &n);  
             ^
/in/foo.cc:18:14: error: 'd' was not declared in this scope
    scanf(”%d”, &n);  
              ^
/in/foo.cc:21:18: error: expected primary-expression before '%' token
         scanf(”%d”, &ith);  
                  ^
/in/foo.cc:23:22: error: expected primary-expression before '%' token
            printf(”%d”, queenPlaces[ith - 1][j]);  
                      ^
/in/foo.cc:24: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++
递交时间
2018-12-06 19:45:30
评测时间
2018-12-06 19:45:30
评测机
分数
0
总耗时
49ms
峰值内存
6.543 MiB