记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:37:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  if(n=2)
        ^
/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 main()':
/in/foo.cc:49:18: warning: 'yue' may be used uninitialized in this function [-Wmaybe-uninitialized]
  printf("%d",yue);
                  ^
# 状态 耗时 内存占用
#1 Accepted 1ms 348.0 KiB
#2 Wrong Answer 1ms 364.0 KiB
#3 Accepted 1ms 352.0 KiB
#4 Wrong Answer 1ms 376.0 KiB
#5 Wrong Answer 1ms 336.0 KiB

信息

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