记录详情

Compile Error

foo.c: In function 'main':
foo.c:4:12: error: stray '\351' in program
    4 |  int s[9]={零,一,二,三,四,五,六,七,八,九}
      |            ^
foo.c:4:13: error: stray '\233' in program
    4 |  int s[9]={零,一,二,三,四,五,六,七,八,九}
      |             ^
foo.c:4:14: error: stray '\266' in program
    4 |  int s[9]={零,一,二,三,四,五,六,七,八,九}
      |              ^
foo.c:4:15: error: expected expression before ',' token
    4 |  int s[9]={零,一,二,三,四,五,六,七,八,九}
      |               ^
foo.c:4:16: error: stray '\344' in program
    4 |  int s[9]={零,一,二,三,四,五,六,七,八,九}
      |                ^
foo.c:4:17: error: stray '\270' in program
    4 |  int s[9]={零,一,二,三,四,五,六,七,八,九}
      |                 ^
foo.c:4:18: error: stray '\200' in program
    4 |  int s[9]={零,一,二,三,四,五,六,七,八,九}
      |                  ^
foo.c:4:20: error: stray '\344' in program
    4 |  int s[9]={零,一,二,三,四,五,六,七,八,九}
      |                    ^
foo.c:4:21: error: stray '\272' in program
    4 |  int s[9]={零,一,二,三,四,五,六,七,八,九}
      |                     ^
foo.c:4:22: error: stray '\214' in program
    4 |  int s[9]={零,一,二,三,四,五,六,七,八,九}
      |                      ^
foo.c:4:24: error: stray '\344' in program
    4 |  int s[9]={零,一,二,三,四,五,六,七,八,九}
      |                        ^
foo.c:4:25: error: stray '\270' in program
    4 |  int s[9]={零,一,二,三,四,五,六,七,八,九}
      |                         ^
foo.c:4:26: error: stray '\211' in program
    4 |  int s[9]={零,一,二,三,四,五,六,七,八,九}
      |                          ^
foo.c:4:28: error: stray '\345' in program
    4 |  int s[9]={零,一,二,三,四,五,六,七,八,九}
      |                            ^
foo.c:4:29: error: stray '\233' in program
    4 |  int s[9]={零,一,二,三,四,五,六,七,八,九}
      |                             ^
foo.c:4:30: error: stray '\233' in program
    4 |  int s[9]={零,一,二,三,四,五,六,七,八,九}
      |                              ^
foo.c:4:32: error: stray '\344' in program
    4 |  int s[9]={零,一,二,三,四,五,六,七,八,九}
      |                                ^
foo.c:4:33: error: stray '\272' in program
    4 |  int s[9]={零,一,二,三,四,五,六,七,八,九}
      |                                 ^
foo.c:4:34: error: stray '\224' in program
    4 |  int s[9]={零,一,二,三,四,五,六,七,八,九}
      |                                  ^
foo.c:4:36: error: stray '\345' in program
    4 |  int s[9]={零,一,二,三,四,五,六,七,八,九}
      |                                    ^
foo.c:4:37: error: stray '\205' in program
    4 |  int s[9]={零,一,二,三,四,五,六,七,八,九}
      |                                     ^
foo.c:4:38: error: stray '\255' in program
    4 |  int s[9]={零,一,二,三,四,五,六,七,八,九}
      |                                      ^
foo.c:4:40: error: stray '\344' in program
    4 |  int s[9]={零,一,二,三,四,五,六,七,八,九}
      |                                        ^
foo.c:4:41: error: stray '\270' in program
    4 |  int s[9]={零,一,二,三,四,五,六,七,八,九}
      |                                         ^
foo.c:4:42: error: stray '\203' in program
    4 |  int s[9]={零,一,二,三,四,五,六,七,八,九}
      |                                          ^
foo.c:4:44: error: stray '\345' in program
    4 |  int s[9]={零,一,二,三,四,五,六,七,八,九}
      |                                            ^
foo.c:4:45: error: stray '\205' in program
    4 |  int s[9]={零,一,二,三,四,五,六,七,八,九}
      |                                             ^
foo.c:4:46: error: stray '\253' in program
    4 |  int s[9]={零,一,二,三,四,五,六,七,八,九}
      |                                              ^
foo.c:4:48: error: stray '\344' in program
    4 |  int s[9]={零,一,二,三,四,五,六,七,八,九}
      |                                                ^
foo.c:4:49: error: stray '\271' in program
    4 |  int s[9]={零,一,二,三,四,五,六,七,八,九}
      |                                                 ^
foo.c:4:50: error: stray '\235' in program
    4 |  int s[9]={零,一,二,三,四,五,六,七,八,九}
      |                                                  ^
foo.c:5:2: error: expected ',' or ';' before 'int'
    5 |  int x,a,b,c;
      |  ^~~
foo.c:6:14: error: 'x' undeclared (first use in this function)
    6 |  scanf("%d",&x);
      |              ^
foo.c:6:14: note: each undeclared identifier is reported only once for each function it appears in
foo.c:7:2: error: 'a' undeclared (first use in this function)
    7 |  a=x/100;
      |  ^
foo.c:8:2: error: 'b' undeclared (first use in this function)
    8 |  b=(x-a*100)/10;
      |  ^
foo.c:9:2: error: 'c' undeclared (first use in this function)
    9 |  c=x%10;
      |  ^
foo.c:11:14: error: expected ')' before 'S'
   11 |   printf("YE"S);
      |              ^
      |              )
foo.c:4:6: warning: unused variable 's' [-Wunused-variable]
    4 |  int s[9]={零,一,二,三,四,五,六,七,八,九}
      |      ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
P1039 xf2-5水仙花数
语言
C
递交时间
2021-12-28 18:27:58
评测时间
2021-12-28 18:27:58
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes