记录详情

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:37:26: warning: 'yue' may be used uninitialized in this function [-Wmaybe-uninitialized]
  printf("%d\n%d",yue,bei);
                          ^
/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 388.0 KiB
#2 Wrong Answer 2ms 336.0 KiB
#3 Accepted 1ms 356.0 KiB
#4 Accepted 1ms 340.0 KiB
#5 Accepted 1ms 324.0 KiB

信息

递交者
类型
递交
题目
A6-1 最大公约数专题:最大公约数和最小公倍数
比赛
2024程序设计与竞赛作业赛第一场(喜相逢)
语言
C++
递交时间
2024-09-29 19:29:12
评测时间
2024-09-29 19:29:12
评测机
分数
80
总耗时
9ms
峰值内存
388.0 KiB