记录详情

Accepted

foo.cc: In function ‘int A(int, int)’:
foo.cc:15:16: warning: ‘max’ may be used uninitialized [-Wmaybe-uninitialized]
   15 |         return max;
      |                ^~~
foo.cc:5:13: note: ‘max’ was declared here
    5 |         int max,t;
      |             ^~~
foo.cc: In function ‘int main()’:
foo.cc:45:10: warning: ‘max’ may be used uninitialized [-Wmaybe-uninitialized]
   45 |         b=b/t;
      |         ~^~~~
foo.cc:5:13: note: ‘max’ was declared here
    5 |         int max,t;
      |             ^~~
# 状态 耗时 内存占用
#1 Accepted 3ms 768.0 KiB
#2 Accepted 2ms 768.0 KiB
#3 Accepted 2ms 536.0 KiB
#4 Accepted 2ms 528.0 KiB
#5 Accepted 2ms 764.0 KiB

信息

递交者
类型
递交
题目
A6-2 最大公约数专题:分数的加法
比赛
南师大(含泰州学院)2024年新生赛(第一场)
语言
C++
递交时间
2024-08-15 09:49:32
评测时间
2024-08-15 09:49:32
评测机
分数
100
总耗时
14ms
峰值内存
768.0 KiB