Compile Error

/in/foo.cc:11:12: error: stray '\342' in program
 double s = √ p(p - a)(p - b)(p - c)
            ^
/in/foo.cc:11:13: error: stray '\210' in program
 double s = √ p(p - a)(p - b)(p - c)
             ^
/in/foo.cc:11:14: error: stray '\232' in program
 double s = √ p(p - a)(p - b)(p - c)
              ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:11:23: error: 'p' cannot be used as a function
 double s = √ p(p - a)(p - b)(p - c)
                       ^
/in/foo.cc:11:8: warning: unused variable 's' [-Wunused-variable]
 double s = √ p(p - a)(p - b)(p - c)
        ^
/in/foo.cc:18:9: error: expected '}' at end of input
 return 0;
         ^

信息

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