记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:6:9: error: stray '\342' in program
  printf(“请输入华氏温度:”);
         ^
/in/foo.c:6:10: error: stray '\200' in program
  printf(“请输入华氏温度:”);
          ^
/in/foo.c:6:11: error: stray '\234' in program
  printf(“请输入华氏温度:”);
           ^
/in/foo.c:6:12: error: stray '\350' in program
  printf(“请输入华氏温度:”);
            ^
/in/foo.c:6:13: error: stray '\257' in program
  printf(“请输入华氏温度:”);
             ^
/in/foo.c:6:14: error: stray '\267' in program
  printf(“请输入华氏温度:”);
              ^
/in/foo.c:6:15: error: stray '\350' in program
  printf(“请输入华氏温度:”);
               ^
/in/foo.c:6:16: error: stray '\276' in program
  printf(“请输入华氏温度:”);
                ^
/in/foo.c:6:17: error: stray '\223' in program
  printf(“请输入华氏温度:”);
                 ^
/in/foo.c:6:18: error: stray '\345' in program
  printf(“请输入华氏温度:”);
                  ^
/in/foo.c:6:19: error: stray '\205' in program
  printf(“请输入华氏温度:”);
                   ^
/in/foo.c:6:20: error: stray '\245' in program
  printf(“请输入华氏温度:”);
                    ^
/in/foo.c:6:21: error: stray '\345' in program
  printf(“请输入华氏温度:”);
                     ^
/in/foo.c:6:22: error: stray '\215' in program
  printf(“请输入华氏温度:”);
                      ^
/in/foo.c:6:23: error: stray '\216' in program
  printf(“请输入华氏温度:”);
                       ^
/in/foo.c:6:24: error: stray '\346' in program
  printf(“请输入华氏温度:”);
                        ^
/in/foo.c:6:25: error: stray '\260' in program
  printf(“请输入华氏温度:”);
                         ^
/in/foo.c:6:26: error: stray '\217' in program
  printf(“请输入华氏温度:”);
                          ^
/in/foo.c:6:27: error: stray '\346' in program
  printf(“请输入华氏温度:”);
                           ^
/in/foo.c:6:28: error: stray '\270' in program
  printf(“请输入华氏温度:”);
                            ^
/in/foo.c:6:29: error: stray '\251' in program
  printf(“请输入华氏温度:”);
                             ^
/in/foo.c:6:30: error: stray '\345' in program
  printf(“请输入华氏温度:”);
                              ^
/in/foo.c:6:31: error: stray '\272' in program
  printf(“请输入华氏温度:”);
                               ^
/in/foo.c:6:32: error: stray '\246' in program
  printf(“请输入华氏温度:”);
                                ^
/in/foo.c:6:33: error: expected expression before ':' token
  printf(“请输入华氏温度:”);
                                 ^
/in/foo.c:6:34: error: stray '\342' in program
  printf(“请输入华氏温度:”);
                                  ^
/in/foo.c:6:35: error: stray '\200' in program
  printf(“请输入华氏温度:”);
                                   ^
/in/foo.c:6:36: error: stray '\235' in program
  printf(“请输入华氏温度:”);
                                    ^
/in/foo.c:7:8: error: stray '\342' in program
  scanf(“%lf”,&f);
        ^
/in/foo.c:7:9: error: stray '\200' in program
  scanf(“%lf”,&f);
         ^
/in/foo.c:7:10: error: stray '\234' in program
  scanf(“%lf”,&f);
          ^
/in/foo.c:7:11: error: expected expression before '%' token
  scanf(“%lf”,&f);
           ^
/in/foo.c:7:14: error: stray '\342' in program
  scanf(“%lf”,&f);
              ^
/in/foo.c:7:15: error: stray '\200' in program
  scanf(“%lf”,&f);
               ^
/in/foo.c:7:16: error: stray '\235' in program
  scanf(“%lf”,&f);
                ^
/in/foo.c:11:12: error: stray '\342' in program
     printf(“%.2lf\n”,c);
            ^
/in/foo.c:11:13: error: stray '\200' in program
     printf(“%.2lf\n”,c);
             ^
/in/foo.c:11:14: error: stray '\234' in program
     printf(“%.2lf\n”,c);
              ^
/in/foo.c:11:15: error: expected expression before '%' token
     printf(“%.2lf\n”,c);
               ^
/in/foo.c:11:16: error: invalid suffix "lf" on floating constant
     printf(“%.2lf\n”,c);
                ^~~~
/in/foo.c:11:20: error: stray '\' in program
     printf(“%.2lf\n”,c);
                    ^
/in/foo.c:11:22: error: stray '\342' in program
     printf(“%.2lf\n”,c);
                      ^
/in/foo.c:11:23: error: stray '\200' in program
     printf(“%.2lf\n”,c);
                       ^
/in/foo.c:11:24: error: stray '\235' in program
     printf(“%.2lf\n”,c);
                        ^
/in/foo.c:4:11: warning: variable 'c' set but not used [-Wunused-but-set-variable]
  double f,c;
           ^

信息

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