Compile Error

foo.cc: In function 'void merge(int*, int, int, int)':
foo.cc:88:6: warning: unused variable 't' [-Wunused-variable]
   88 |  int t[100],i,j,k=0;
      |      ^
foo.cc:88:13: warning: variable 'i' set but not used [-Wunused-but-set-variable]
   88 |  int t[100],i,j,k=0;
      |             ^
foo.cc:88:15: warning: variable 'j' set but not used [-Wunused-but-set-variable]
   88 |  int t[100],i,j,k=0;
      |               ^
foo.cc:88:17: warning: unused variable 'k' [-Wunused-variable]
   88 |  int t[100],i,j,k=0;
      |                 ^
foo.cc: In function 'void merges(int*, int, int, int)':
foo.cc:94:6: warning: unused variable 't' [-Wunused-variable]
   94 |  int t[100],i,j,k=0;
      |      ^
foo.cc:94:13: warning: variable 'i' set but not used [-Wunused-but-set-variable]
   94 |  int t[100],i,j,k=0;
      |             ^
foo.cc:94:15: warning: variable 'j' set but not used [-Wunused-but-set-variable]
   94 |  int t[100],i,j,k=0;
      |               ^
foo.cc:94:17: warning: unused variable 'k' [-Wunused-variable]
   94 |  int t[100],i,j,k=0;
      |                 ^
foo.cc: In function 'int main()':
foo.cc:105:15: error: too many arguments to function 'void inserts(int*, int)'
  105 |  inserts(a,0,n);
      |               ^
foo.cc:44:6: note: declared here
   44 | void inserts(int a[],int n)
      |      ^~~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1166 快速排序
语言
C++
递交时间
2021-12-11 19:36:14
评测时间
2021-12-11 19:36:14
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes