记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:5:2: error: 'doublef' undeclared (first use in this function)
  doublef,c;
  ^~~~~~~
/in/foo.c:5:2: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:5:10: error: 'c' undeclared (first use in this function)
  doublef,c;
          ^
/in/foo.c:5:9: warning: left-hand operand of comma expression has no effect [-Wunused-value]
  doublef,c;
         ^
/in/foo.c:7:7: error: stray '\357' in program
  scanf(“%|f”,&f);
       ^
/in/foo.c:7:8: error: stray '\274' in program
  scanf(“%|f”,&f);
        ^
/in/foo.c:7:9: error: stray '\210' in program
  scanf(“%|f”,&f);
         ^
/in/foo.c:7:10: error: stray '\342' in program
  scanf(“%|f”,&f);
          ^
/in/foo.c:7:11: error: stray '\200' in program
  scanf(“%|f”,&f);
           ^
/in/foo.c:7:12: error: stray '\234' in program
  scanf(“%|f”,&f);
            ^
/in/foo.c:7:14: error: expected expression before '|' token
  scanf(“%|f”,&f);
              ^
/in/foo.c:7:16: error: stray '\342' in program
  scanf(“%|f”,&f);
                ^
/in/foo.c:7:17: error: stray '\200' in program
  scanf(“%|f”,&f);
                 ^
/in/foo.c:7:18: error: stray '\235' in program
  scanf(“%|f”,&f);
                  ^
/in/foo.c:7:19: error: stray '\357' in program
  scanf(“%|f”,&f);
                   ^
/in/foo.c:7:20: error: stray '\274' in program
  scanf(“%|f”,&f);
                    ^
/in/foo.c:7:21: error: stray '\214' in program
  scanf(“%|f”,&f);
                     ^
/in/foo.c:7:24: error: expected statement before ')' token
  scanf(“%|f”,&f);
                        ^
/in/foo.c:8:9: error: 'f' undeclared (first use in this function)
  c=5/9*(f-32);
         ^
/in/foo.c:9:10: error: expected expression before '%' token
   printf(%,2|f\n",c);
          ^
/in/foo.c:9:15: error: stray '\' in program
   printf(%,2|f\n",c);
               ^
/in/foo.c:9:17: warning: missing terminating " character
   printf(%,2|f\n",c);
                 ^
/in/foo.c:9:17: error: missing terminating " character
   printf(%,2|f\n",c);
                 ^~~~~
/in/foo.c:11:1: error: expected ';' before '}' token
 }
 ^

信息

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