记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:22:26: warning: 'arr' may be used uninitialized [-Wmaybe-uninitialized]
   22 |         int gongyue = gcd(arr[0], arr[1]);
      |                       ~~~^~~~~~~~~~~~~~~~
foo.cc:16:13: note: 'arr' declared here
   16 |         int arr[10000];
      |             ^~~
foo.cc:22:26: warning: 'arr' may be used uninitialized [-Wmaybe-uninitialized]
   22 |         int gongyue = gcd(arr[0], arr[1]);
      |                       ~~~^~~~~~~~~~~~~~~~
foo.cc:16:13: note: 'arr' declared here
   16 |         int arr[10000];
      |             ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Floating point exception 4ms 456.0 KiB
#2 Runtime Error Floating point exception 3ms 412.0 KiB
#3 Runtime Error Floating point exception 4ms 412.0 KiB
#4 Runtime Error Floating point exception 2ms 412.0 KiB
#5 Runtime Error Floating point exception 6ms 412.0 KiB

信息

递交者
类型
递交
题目
5-3 最大公约数
语言
C++
递交时间
2023-10-03 20:32:12
评测时间
2023-10-03 20:32:12
评测机
分数
0
总耗时
21ms
峰值内存
456.0 KiB