记录详情

Runtime Error

foo.cc: In function ‘int main()’:
foo.cc:44:25: warning: ‘t’ may be used uninitialized [-Wmaybe-uninitialized]
   44 |                 for(int t=a[t];t>=1;t--)
      |                         ^
foo.cc:44:25: note: ‘t’ was declared here
   44 |                 for(int t=a[t];t>=1;t--)
      |                         ^
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 2ms 496.0 KiB
#2 Runtime Error Segmentation fault 2ms 760.0 KiB
#3 Runtime Error Segmentation fault 2ms 764.0 KiB
#4 Accepted 2ms 508.0 KiB
#5 Wrong Answer Standard answer longer than user output. 2ms 760.0 KiB

信息

递交者
类型
递交
题目
A6-3 最大公约数专题:多个分数的加法
语言
C++
递交时间
2025-08-13 17:41:15
评测时间
2025-08-13 17:41:15
评测机
分数
20
总耗时
13ms
峰值内存
764.0 KiB