记录详情

Accepted

/in/foo.cc: In function 'int tili(int*, int)':
/in/foo.cc:57:4: warning: operation on 'n' may be undefined [-Wsequence-point]
   n=n=RemoveAt(a,n,zxnum2);
   ~^~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:49:38: warning: unused variable 'zuixiao' [-Wunused-variable]
  int zuixiao1,zxnum1,zuixiao2,zxnum2,zuixiao,he;
                                      ^~~~~~~
/in/foo.cc:63:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
/in/foo.cc: In function 'int chazhao(int*, int, int)':
/in/foo.cc:32:9: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return x;
         ^
/in/foo.cc: In function 'int tili(int*, int)':
/in/foo.cc:36:2: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
  if(k>=n || k<0)  return n;
  ^~
/in/foo.cc:22:6: note: 'x' was declared here
  int x;
      ^
# 状态 耗时 内存占用
#1 Accepted 106ms 460.0 KiB
#2 Accepted 1ms 360.0 KiB
#3 Accepted 2ms 380.0 KiB
#4 Accepted 2ms 376.0 KiB
#5 Accepted 19ms 452.0 KiB
#6 Accepted 28ms 452.0 KiB
#7 Accepted 112ms 468.0 KiB
#8 Accepted 112ms 460.0 KiB
#9 Accepted 109ms 464.0 KiB
#10 Accepted 106ms 464.0 KiB

信息

递交者
类型
递交
题目
P1124 合并果子
比赛
2024程序设计与竞赛作业赛第四场(体悟本心)
语言
C++
递交时间
2024-10-27 17:38:12
评测时间
2024-10-27 17:38:12
评测机
分数
100
总耗时
602ms
峰值内存
468.0 KiB