记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:5:21: error: stray '\357' in program
     float fahrenheit,celsius;
                     ^
/in/foo.c:5:22: error: stray '\274' in program
     float fahrenheit,celsius;
                      ^
/in/foo.c:5:23: error: stray '\214' in program
     float fahrenheit,celsius;
                       ^
/in/foo.c:5:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'celsius'
     float fahrenheit,celsius;
                        ^~~~~~~
/in/foo.c:5:24: error: 'celsius' undeclared (first use in this function)
/in/foo.c:5:24: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:7:12: error: stray '\357' in program
  scanf("%f",&fahrenheit);
            ^
/in/foo.c:7:13: error: stray '\274' in program
  scanf("%f",&fahrenheit);
             ^
/in/foo.c:7:14: error: stray '\214' in program
  scanf("%f",&fahrenheit);
              ^
/in/foo.c:7:16: error: 'fahrenheit' undeclared (first use in this function)
  scanf("%f",&fahrenheit);
                ^~~~~~~~~~
/in/foo.c:8:41: error: stray '\357' in program
  if(fahrenheit >= 0 && fahrenheit <=1000)
                                         ^
/in/foo.c:8:42: error: stray '\274' in program
  if(fahrenheit >= 0 && fahrenheit <=1000)
                                          ^
/in/foo.c:8:43: error: stray '\211' in program
  if(fahrenheit >= 0 && fahrenheit <=1000)
                                           ^
/in/foo.c:9:5: error: expected ')' before '{' token
     {
     ^
/in/foo.c:10:15: error: stray '\357' in program
      celsius =(fahrenheit-32)*5/9;
               ^
/in/foo.c:10:16: error: stray '\274' in program
      celsius =(fahrenheit-32)*5/9;
                ^
/in/foo.c:10:17: error: stray '\210' in program
      celsius =(fahrenheit-32)*5/9;
                 ^
/in/foo.c:10:31: error: stray '\357' in program
      celsius =(fahrenheit-32)*5/9;
                               ^
/in/foo.c:10:32: error: stray '\274' in program
      celsius =(fahrenheit-32)*5/9;
                                ^
/in/foo.c:10:33: error: stray '\211' in program
      celsius =(fahrenheit-32)*5/9;
                                 ^
/in/foo.c:10:38: error: stray '\357' in program
      celsius =(fahrenheit-32)*5/9;
                                      ^
/in/foo.c:10:39: error: stray '\274' in program
      celsius =(fahrenheit-32)*5/9;
                                       ^
/in/foo.c:10:40: error: stray '\233' in program
      celsius =(fahrenheit-32)*5/9;
                                        ^
/in/foo.c:11:8: error: stray '\357' in program
  printf(“对应的摄氏度为:%.2f\n",c)
        ^
/in/foo.c:11:9: error: stray '\274' in program
  printf(“对应的摄氏度为:%.2f\n",c)
         ^
/in/foo.c:11:10: error: stray '\210' in program
  printf(“对应的摄氏度为:%.2f\n",c)
          ^
/in/foo.c:11:11: error: stray '\342' in program
  printf(“对应的摄氏度为:%.2f\n",c)
           ^
/in/foo.c:11:12: error: stray '\200' in program
  printf(“对应的摄氏度为:%.2f\n",c)
            ^
/in/foo.c:11:13: error: stray '\234' in program
  printf(“对应的摄氏度为:%.2f\n",c)
             ^
/in/foo.c:11:14: error: stray '\345' in program
  printf(“对应的摄氏度为:%.2f\n",c)
              ^
/in/foo.c:11:15: error: stray '\257' in program
  printf(“对应的摄氏度为:%.2f\n",c)
               ^
/in/foo.c:11:16: error: stray '\271' in program
  printf(“对应的摄氏度为:%.2f\n",c)
                ^
/in/foo.c:11:17: error: stray '\345' in program
  printf(“对应的摄氏度为:%.2f\n",c)
                 ^
/in/foo.c:11:18: error: stray '\272' in program
  printf(“对应的摄氏度为:%.2f\n",c)
                  ^
/in/foo.c:11:19: error: stray '\224' in program
  printf(“对应的摄氏度为:%.2f\n",c)
                   ^
/in/foo.c:11:20: error: stray '\347' in program
  printf(“对应的摄氏度为:%.2f\n",c)
                    ^
/in/foo.c:11:21: error: stray '\232' in program
  printf(“对应的摄氏度为:%.2f\n",c)
                     ^
/in/foo.c:11:22: error: stray '\204' in program
  printf(“对应的摄氏度为:%.2f\n",c)
                      ^
/in/foo.c:11:23: error: stray '\346' in program
  printf(“对应的摄氏度为:%.2f\n",c)
                       ^
/in/foo.c:11:24: error: stray '\221' in program
  printf(“对应的摄氏度为:%.2f\n",c)
                        ^
/in/foo.c:11:25: error: stray '\204' in program
  printf(“对应的摄氏度为:%.2f\n",c)
                         ^
/in/foo.c:11:26: error: stray '\346' in program
  printf(“对应的摄氏度为:%.2f\n",c)
                          ^
/in/foo.c:11:27: error: stray '\260' in program
  printf(“对应的摄氏度为:%.2f\n",c)
                           ^
/in/foo.c:11:28: error: stray '\217' in program
  printf(“对应的摄氏度为:%.2f\n",c)
                            ^
/in/foo.c:11:29: error: stray '\345' in program
  printf(“对应的摄氏度为:%.2f\n",c)
                             ^
/in/foo.c:11:30: error: stray '\272' in program
  printf(“对应的摄氏度为:%.2f\n",c)
                              ^
/in/foo.c:11:31: error: stray '\246' in program
  printf(“对应的摄氏度为:%.2f\n",c)
                               ^
/in/foo.c:11:32: error: stray '\344' in program
  printf(“对应的摄氏度为:%.2f\n",c)
                                ^
/in/foo.c:11:33: error: stray '\270' in program
  printf(“对应的摄氏度为:%.2f\n",c)
                                 ^
/in/foo.c:11:34: error: stray '\272' in program
  printf(“对应的摄氏度为:%.2f\n",c)
                                  ^
/in/foo.c:11:35: error: stray '\357' in program
  printf(“对应的摄氏度为:%.2f\n",c)
                                   ^
/in/foo.c:11:36: error: stray '\274' in program
  printf(“对应的摄氏度为:%.2f\n",c)
                                    ^
/in/foo.c:11:37: error: stray '\232' in program
  printf(“对应的摄氏度为:%.2f\n",c)
                                     ^
/in/foo.c:11:42: error: stray '\' in program
  printf(“对应的摄氏度为:%.2f\n",c)
                                          ^
/in/foo.c:11:44: warning: missing terminating " character
  printf(“对应的摄氏度为:%.2f\n",c)
                                            ^
/in/foo.c:11:44: error: missing terminating " character
  printf(“对应的摄氏度为:%.2f\n",c)
                                            ^~~~~~
/in/foo.c:17:1: error: expected expression before '}' token
 }
 ^

信息

递交者
类型
自测
语言
C
递交时间
2024-10-22 16:33:35
评测时间
2024-10-22 16:33:35
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes