Accepted

foo.cc: In function ‘int main()’:
foo.cc:21:18: warning: ‘m’ may be used uninitialized [-Wmaybe-uninitialized]
   21 |         cout<<m<<" "<<maa<<endl;
      |                  ^~~
foo.cc:5:43: note: ‘m’ was declared here
    5 |         int a[15],maa=INT_MIN,mii=INT_MAX,m,l;
      |                                           ^
foo.cc:22:18: warning: ‘l’ may be used uninitialized [-Wmaybe-uninitialized]
   22 |         cout<<l<<' '<<mii<<endl;
      |                  ^~~
foo.cc:5:45: note: ‘l’ was declared here
    5 |         int a[15],maa=INT_MIN,mii=INT_MAX,m,l;
      |                                             ^
# 状态 耗时 内存占用
#1 Accepted 3ms 536.0 KiB
#2 Accepted 2ms 324.0 KiB
#3 Accepted 2ms 536.0 KiB
#4 Accepted 2ms 540.0 KiB

信息

递交者
类型
递交
题目
P2568 找最大数和最小数
比赛
春季班中级3.23
语言
C++
递交时间
2024-03-30 09:35:14
评测时间
2024-03-30 09:35:14
评测机
分数
100
总耗时
10ms
峰值内存
540.0 KiB