Accepted

foo.cc: In function 'int max(int, int)':
foo.cc:41:9: warning: 'm' may be used uninitialized in this function [-Wmaybe-uninitialized]
   41 |  return m;
      |         ^
foo.cc: In function 'int min(int, int)':
foo.cc:54:9: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized]
   54 |  return n;
      |         ^
foo.cc: In function 'int main()':
foo.cc:331:11: warning: 'm' may be used uninitialized in this function [-Wmaybe-uninitialized]
  331 |     cout<<m<<endl<<n;
      |           ^
foo.cc:331:20: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized]
  331 |     cout<<m<<endl<<n;
      |                    ^
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 384.0 KiB
#2 Accepted 4ms 256.0 KiB

信息

递交者
类型
递交
题目
P1082 最大值、最小值函数
语言
C++
递交时间
2022-04-07 13:31:04
评测时间
2022-04-07 13:31:04
评测机
分数
100
总耗时
9ms
峰值内存
384.0 KiB