记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:5:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
   float f,c:
            ^
/in/foo.c:7:5: error: stray '\357' in program
   c=(5.0/9)*(f-32);
     ^
/in/foo.c:7:6: error: stray '\274' in program
   c=(5.0/9)*(f-32);
      ^
/in/foo.c:7:7: error: stray '\210' in program
   c=(5.0/9)*(f-32);
       ^
/in/foo.c:7:13: error: stray '\357' in program
   c=(5.0/9)*(f-32);
             ^
/in/foo.c:7:14: error: stray '\274' in program
   c=(5.0/9)*(f-32);
              ^
/in/foo.c:7:15: error: stray '\211' in program
   c=(5.0/9)*(f-32);
               ^
/in/foo.c:7:17: error: stray '\357' in program
   c=(5.0/9)*(f-32);
                 ^
/in/foo.c:7:18: error: stray '\274' in program
   c=(5.0/9)*(f-32);
                  ^
/in/foo.c:7:19: error: stray '\210' in program
   c=(5.0/9)*(f-32);
                   ^
/in/foo.c:7:24: error: stray '\357' in program
   c=(5.0/9)*(f-32);
                        ^
/in/foo.c:7:25: error: stray '\274' in program
   c=(5.0/9)*(f-32);
                         ^
/in/foo.c:7:26: error: stray '\211' in program
   c=(5.0/9)*(f-32);
                          ^
/in/foo.c:7:27: error: stray '\357' in program
   c=(5.0/9)*(f-32);
                           ^
/in/foo.c:7:28: error: stray '\274' in program
   c=(5.0/9)*(f-32);
                            ^
/in/foo.c:7:29: error: stray '\233' in program
   c=(5.0/9)*(f-32);
                             ^
/in/foo.c:8:9: error: stray '\357' in program
   printf("f=%\nc=%f\n",f,c)
         ^
/in/foo.c:8:10: error: stray '\274' in program
   printf("f=%\nc=%f\n",f,c)
          ^
/in/foo.c:8:11: error: stray '\210' in program
   printf("f=%\nc=%f\n",f,c)
           ^
/in/foo.c:8:12: error: stray '\357' in program
   printf("f=%\nc=%f\n",f,c)
            ^
/in/foo.c:8:13: error: stray '\274' in program
   printf("f=%\nc=%f\n",f,c)
             ^
/in/foo.c:8:14: error: stray '\202' in program
   printf("f=%\nc=%f\n",f,c)
              ^
/in/foo.c:8:18: error: stray '\' in program
   printf("f=%\nc=%f\n",f,c)
                  ^
/in/foo.c:8:24: error: stray '\' in program
   printf("f=%\nc=%f\n",f,c)
                        ^
/in/foo.c:8:26: error: stray '\357' in program
   printf("f=%\nc=%f\n",f,c)
                          ^
/in/foo.c:8:27: error: stray '\274' in program
   printf("f=%\nc=%f\n",f,c)
                           ^
/in/foo.c:8:28: error: stray '\202' in program
   printf("f=%\nc=%f\n",f,c)
                            ^
/in/foo.c:8:29: error: stray '\357' in program
   printf("f=%\nc=%f\n",f,c)
                             ^
/in/foo.c:8:30: error: stray '\274' in program
   printf("f=%\nc=%f\n",f,c)
                              ^
/in/foo.c:8:31: error: stray '\214' in program
   printf("f=%\nc=%f\n",f,c)
                               ^
/in/foo.c:8:33: error: stray '\357' in program
   printf("f=%\nc=%f\n",f,c)
                                 ^
/in/foo.c:8:34: error: stray '\274' in program
   printf("f=%\nc=%f\n",f,c)
                                  ^
/in/foo.c:8:35: error: stray '\214' in program
   printf("f=%\nc=%f\n",f,c)
                                   ^
/in/foo.c:8:37: error: stray '\357' in program
   printf("f=%\nc=%f\n",f,c)
                                     ^
/in/foo.c:8:38: error: stray '\274' in program
   printf("f=%\nc=%f\n",f,c)
                                      ^
/in/foo.c:8:39: error: stray '\211' in program
   printf("f=%\nc=%f\n",f,c)
                                       ^
/in/foo.c:9:11: error: stray '\357' in program
   return 0;
           ^
/in/foo.c:9:12: error: stray '\274' in program
   return 0;
            ^
/in/foo.c:9:13: error: stray '\233' in program
   return 0;
             ^
/in/foo.c:10:1: error: expected declaration or statement at end of input
 }
 ^
/in/foo.c:5:9: warning: unused variable 'f' [-Wunused-variable]
   float f,c:
         ^

信息

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