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