Accepted

/in/foo.cc: In function 'int find_Greatest_Common_Factor(int, int)':
/in/foo.cc:22:16: warning: '_GCF' may be used uninitialized [-Wmaybe-uninitialized]
   22 |         return _GCF;
      |                ^~~~
/in/foo.cc:6:18: note: '_GCF' was declared here
    6 |         int minn,_GCF;
      |                  ^~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:27:46: warning: '_GCF' may be used uninitialized [-Wmaybe-uninitialized]
   27 |         cout<<find_Greatest_Common_Factor(m,n);
      |                                              ^
/in/foo.cc:6:18: note: '_GCF' was declared here
    6 |         int minn,_GCF;
      |                  ^~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 476.0 KiB
#2 Accepted 1ms 504.0 KiB
#3 Accepted 1ms 532.0 KiB
#4 Accepted 2ms 484.0 KiB
#5 Accepted 1ms 524.0 KiB
#6 Accepted 1ms 484.0 KiB
#7 Accepted 1ms 348.0 KiB
#8 Accepted 1ms 492.0 KiB
#9 Accepted 1ms 536.0 KiB
#10 Accepted 1ms 516.0 KiB

信息

递交者
类型
递交
题目
P2751 求最大公约数
比赛
2025.12.13中级班练习
语言
C++
递交时间
2025-12-13 17:51:21
评测时间
2025-12-13 17:51:21
评测机
分数
100
总耗时
19ms
峰值内存
536.0 KiB