Accepted

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 'void quicks(int*, int, int)':
foo.cc:82:14: warning: 'pos' may be used uninitialized in this function [-Wmaybe-uninitialized]
   82 |   pos=segment(a,start,pos-1);
      |       ~~~~~~~^~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 512.0 KiB
#2 Accepted 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1167 归并排序
语言
C++
递交时间
2021-12-11 19:38:32
评测时间
2021-12-11 19:38:32
评测机
分数
100
总耗时
4ms
峰值内存
512.0 KiB