记录详情

Compile Error

foo.c: In function 'main':
foo.c:23:35: error: too few arguments to function 'pow'
   23 |                         a[i++]=j%(pow(num-1));
      |                                   ^~~
In file included from /nix/store/y8wfrgk7br5rfz4221lfb9v8w3n0cnyd-glibc-2.37-8-dev/include/features.h:491,
                 from /nix/store/y8wfrgk7br5rfz4221lfb9v8w3n0cnyd-glibc-2.37-8-dev/include/bits/libc-header-start.h:33,
                 from /nix/store/y8wfrgk7br5rfz4221lfb9v8w3n0cnyd-glibc-2.37-8-dev/include/stdio.h:27,
                 from foo.c:1:
/nix/store/y8wfrgk7br5rfz4221lfb9v8w3n0cnyd-glibc-2.37-8-dev/include/bits/mathcalls.h:140:1: note: declared here
  140 | __MATHCALL_VEC (pow,, (_Mdouble_ __x, _Mdouble_ __y));
      | ^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
P1538 Problem 5C. 幸运数
语言
C
递交时间
2023-11-07 20:21:13
评测时间
2023-11-07 20:21:13
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes