记录详情

Compile Error

foo.c: In function 'calculateFactorialDigits':
foo.c:12:35: error: 'M_PI' undeclared (first use in this function)
   12 |     double digitCount = log10(2 * M_PI * n) / 2 + n * log10(n / M_E) + 1;
      |                                   ^~~~
foo.c:12:35: note: each undeclared identifier is reported only once for each function it appears in
foo.c:12:65: error: 'M_E' undeclared (first use in this function)
   12 |     double digitCount = log10(2 * M_PI * n) / 2 + n * log10(n / M_E) + 1;
      |                                                                 ^~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1089 xf2-2计算阶乘位数
语言
C
递交时间
2023-12-11 22:30:20
评测时间
2023-12-11 22:30:20
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes