记录详情

Wrong Answer

/in/foo.cc: In function 'int gongyue(int, int)':
/in/foo.cc:19:9: warning: 'yue' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return yue;
         ^~~
/in/foo.cc: In function 'int gongbei(int, int)':
/in/foo.cc:28:5: warning: 'yue' may be used uninitialized in this function [-Wmaybe-uninitialized]
  bei=a*b/yue;
  ~~~^~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:46:5: warning: 'yue' may be used uninitialized in this function [-Wmaybe-uninitialized]
   fz=fz/yue;
   ~~^~~~~~~
/in/foo.cc:28:5: warning: 'yue' may be used uninitialized in this function [-Wmaybe-uninitialized]
  bei=a*b/yue;
  ~~~^~~~~~~~
/in/foo.cc:4:6: note: 'yue' was declared here
  int yue;
      ^~~
# 状态 耗时 内存占用
#1 Accepted 1ms 376.0 KiB
#2 Wrong Answer 1ms 328.0 KiB
#3 Accepted 1ms 376.0 KiB
#4 Accepted 1ms 324.0 KiB
#5 Accepted 1ms 336.0 KiB

信息

递交者
类型
递交
题目
A6-2 最大公约数专题:分数的加法
比赛
2024程序设计与竞赛作业赛第一场(喜相逢)
语言
C++
递交时间
2024-10-01 11:41:59
评测时间
2024-10-01 11:41:59
评测机
分数
80
总耗时
7ms
峰值内存
376.0 KiB