记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:6:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'scanf'
   scanf(“%d”,&n)
   ^~~~~
/in/foo.c:6:9: error: stray '\342' in program
   scanf(“%d”,&n)
         ^
/in/foo.c:6:10: error: stray '\200' in program
   scanf(“%d”,&n)
          ^
/in/foo.c:6:11: error: stray '\234' in program
   scanf(“%d”,&n)
           ^
/in/foo.c:6:14: error: stray '\342' in program
   scanf(“%d”,&n)
              ^
/in/foo.c:6:15: error: stray '\200' in program
   scanf(“%d”,&n)
               ^
/in/foo.c:6:16: error: stray '\235' in program
   scanf(“%d”,&n)
                ^
/in/foo.c:6:20: error: stray '\357' in program
   scanf(“%d”,&n)
                    ^
/in/foo.c:6:21: error: stray '\274' in program
   scanf(“%d”,&n)
                     ^
/in/foo.c:6:22: error: stray '\211' in program
   scanf(“%d”,&n)
                      ^
/in/foo.c:12:23: error: stray '\' in program
        { printf "yes."\n");break;}
                       ^
/in/foo.c:12:25: warning: missing terminating " character
        { printf "yes."\n");break;}
                         ^
/in/foo.c:12:25: error: missing terminating " character
        { printf "yes."\n");break;}
                         ^~~~~~~~~~
/in/foo.c:5:8: warning: unused variable 'i' [-Wunused-variable]
  int n,i,n1
        ^
/in/foo.c:5:6: warning: unused variable 'n' [-Wunused-variable]
  int n,i,n1
      ^

信息

递交者
类型
自测
题目
A5-1 超级素数判断
语言
C
递交时间
2019-03-16 08:22:35
评测时间
2019-03-16 08:22:35
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes