Compile Error

foo.cc:11:12: error: stray '\342' in program
   11 | double s = √ p(p - a)(p - b)(p - c)
      |            ^
foo.cc:11:13: error: stray '\210' in program
   11 | double s = √ p(p - a)(p - b)(p - c)
      |             ^
foo.cc:11:14: error: stray '\232' in program
   11 | double s = √ p(p - a)(p - b)(p - c)
      |              ^
foo.cc: In function 'int main()':
foo.cc:11:23: error: 'p' cannot be used as a function
   11 | double s = √ p(p - a)(p - b)(p - c)
      |                       ^
foo.cc:11:8: warning: unused variable 's' [-Wunused-variable]
   11 | double s = √ p(p - a)(p - b)(p - c)
      |        ^
foo.cc:18:9: error: expected '}' at end of input
   18 | return 0;
      |         ^
foo.cc:4:1: note: to match this '{'
    4 | {
      | ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1701 求三角形面积
语言
C++
递交时间
2022-07-01 14:45:02
评测时间
2022-07-01 14:45:02
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes