记录详情

Runtime Error

/in/foo.cc: In function 'int gys(int, int)':
/in/foo.cc:11:9: warning: 'res1' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return res1;
         ^~~~
/in/foo.cc: In function 'int gbs(int, int)':
/in/foo.cc:21:9: warning: 'res2' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return res2;
         ^~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:29:18: warning: 'res1' may be used uninitialized in this function [-Wmaybe-uninitialized]
  cout<<Gbs<<" "<<Gys<<endl;
                  ^~~
/in/foo.cc:29:13: warning: 'res2' may be used uninitialized in this function [-Wmaybe-uninitialized]
  cout<<Gbs<<" "<<Gys<<endl;
             ^~~
# 状态 耗时 内存占用
#1 Runtime Error 20ms 420.0 KiB
#2 Runtime Error 1ms 416.0 KiB
#3 Runtime Error 2ms 492.0 KiB
#4 Runtime Error 1ms 484.0 KiB
#5 Runtime Error 1ms 484.0 KiB
#6 Runtime Error 1ms 420.0 KiB
#7 Runtime Error 2ms 400.0 KiB
#8 Runtime Error 1ms 488.0 KiB
#9 Runtime Error 1ms 416.0 KiB
#10 Runtime Error 1ms 484.0 KiB

信息

递交者
类型
递交
题目
公约数公倍数
语言
C++
递交时间
2024-05-22 15:25:25
评测时间
2024-05-22 15:25:25
评测机
分数
0
总耗时
38ms
峰值内存
492.0 KiB