记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:54:6: error: invalid conversion from 'int' to 'int*' [-fpermissive]
   54 |  mai(a,b);
      |      ^
      |      |
      |      int
foo.cc:54:9: error: too few arguments to function 'int mai(int*, int, int, int)'
   54 |  mai(a,b);
      |         ^
foo.cc:3:5: note: declared here
    3 | int mai(int a[105], int n,int k,int b) {
      |     ^~~
foo.cc:55:6: error: invalid conversion from 'int' to 'int*' [-fpermissive]
   55 |  man(c,d);
      |      ^
      |      |
      |      int
foo.cc:55:9: error: too few arguments to function 'int man(int*, int, int, int)'
   55 |  man(c,d);
      |         ^
foo.cc:26:5: note: declared here
   26 | int man(int a[105], int n,int k,int b) {
      |     ^~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
比赛
2022暑期青少年社团(训练赛)
语言
C++
递交时间
2022-08-07 20:31:03
评测时间
2022-08-07 20:31:03
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes