记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:13:11: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized]
  for (int i; i<n; i++) cin >> a[i];
           ^
/in/foo.cc:14:11: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized]
  for (int i; i<n-1; i++) a[i]=a[i+1];
           ^
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 380.0 KiB
#2 Wrong Answer 1ms 352.0 KiB
#3 Wrong Answer 1ms 352.0 KiB
#4 Wrong Answer 1ms 348.0 KiB
#5 Wrong Answer 1ms 376.0 KiB

信息

递交者
类型
递交
题目
A6-4 最大公约数专题:多个数的最大公约数
比赛
2024-3-15 信息教师练习赛(2)
语言
C++
递交时间
2024-03-20 19:22:02
评测时间
2024-03-20 19:22:02
评测机
分数
0
总耗时
7ms
峰值内存
380.0 KiB