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)提供评测服务