记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:7:9: error: stray '\357' in program
  int l,j;
         ^
/in/foo.c:7:10: error: stray '\274' in program
  int l,j;
          ^
/in/foo.c:7:11: error: stray '\233' in program
  int l,j;
           ^
/in/foo.c:8:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'double'
  double x,y;
  ^~~~~~
/in/foo.c:11:11: error: called object is not a function or function pointer
  l=sqrt((d-b)(d-b)+(c-a)(c-a));
         ~~^~~
/in/foo.c:11:22: error: called object is not a function or function pointer
  l=sqrt((d-b)(d-b)+(c-a)(c-a));
                    ~~^~~
/in/foo.c:12:2: error: 'j' undeclared (first use in this function)
  j=atant((d-b)/(c-a));
  ^
/in/foo.c:12:2: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:12:4: warning: implicit declaration of function 'atant' [-Wimplicit-function-declaration]
  j=atant((d-b)/(c-a));
    ^~~~~
/in/foo.c:7:6: warning: variable 'l' set but not used [-Wunused-but-set-variable]
  int l,j;
      ^

信息

递交者
类型
递交
题目
P1183 五角大楼
比赛
2020年互联网创新创业科技节程序设计大赛
语言
C
递交时间
2020-12-09 16:57:52
评测时间
2020-12-09 16:57:52
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes