记录详情

Runtime Error

/in/foo.cc: In function 'int gbs(int, int)':
/in/foo.cc:10:9: warning: 'res' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return res;
         ^~~
/in/foo.cc: In function 'int gys(int, int)':
/in/foo.cc:20:9: warning: 'res' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return res;
         ^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:26:18: warning: 'res' may be used uninitialized in this function [-Wmaybe-uninitialized]
  cout<<gbs(a,b)<<" "<<gys(a,b)<<endl;
                  ^~~
/in/foo.cc:26:30: warning: 'res' may be used uninitialized in this function [-Wmaybe-uninitialized]
  cout<<gbs(a,b)<<" "<<gys(a,b)<<endl;
                              ^
# 状态 耗时 内存占用
#1 Runtime Error 20ms 424.0 KiB
#2 Runtime Error 1ms 412.0 KiB
#3 Runtime Error 1ms 400.0 KiB
#4 Runtime Error 1ms 400.0 KiB
#5 Runtime Error 2ms 364.0 KiB
#6 Runtime Error 2ms 420.0 KiB
#7 Runtime Error 2ms 424.0 KiB
#8 Runtime Error 1ms 376.0 KiB
#9 Runtime Error 1ms 400.0 KiB
#10 Runtime Error 1ms 404.0 KiB

信息

递交者
类型
递交
题目
公约数公倍数
语言
C++
递交时间
2024-05-06 16:11:54
评测时间
2024-05-06 16:11:54
评测机
分数
0
总耗时
37ms
峰值内存
424.0 KiB