记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:15:9: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
   a[i+1]=gcd(a[i],a[i+1]);
   ~~~~~~^~~~~~~~~~~~~~~~~
foo.cc: In function 'int gcd(int, int)':
foo.cc:26:9: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return ans;
         ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Accepted 2ms 404.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 2ms 412.0 KiB
#5 Accepted 1ms 384.0 KiB

信息

递交者
类型
递交
题目
A6-4 最大公约数专题:多个数的最大公约数
语言
C++
递交时间
2021-07-19 10:58:41
评测时间
2021-07-19 10:58:41
评测机
分数
100
总耗时
10ms
峰值内存
412.0 KiB