记录详情

Wrong Answer

foo.cc: In function 'int Searchsum(long long int*, long long int, long long int)':
foo.cc:11:9: warning: 'cnt' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return cnt;
         ^~~
foo.cc: In function 'long long int xmax(long long int*, long long int)':
foo.cc:21:3: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized]
   for(long long j;j<add[ai];j++)
   ^~~
foo.cc:23:9: warning: 'sum' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return sum;
         ^~~
foo.cc:11:9: warning: 'cnt' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return cnt;
         ^~~
foo.cc:6:12: note: 'cnt' was declared here
  long long cnt;
            ^~~
foo.cc: In function 'int main()':
foo.cc:73:15: warning: 'ii' is used uninitialized in this function [-Wuninitialized]
  for(int ii;ii<=i;ii++)
             ~~^~~
foo.cc:65:6: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized]
   a[i++]=xx%10;//存入数组
     ~^~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Wrong Answer User output longer than standard answer. 2ms 380.0 KiB

信息

递交者
类型
自测
题目
5-7 玩整数
语言
C++
递交时间
2021-03-14 21:58:12
评测时间
2021-03-14 21:58:12
评测机
分数
0
总耗时
2ms
峰值内存
380.0 KiB