Accepted

foo.cc: In function 'int main()':
foo.cc:19:18: warning: 'j' may be used uninitialized [-Wmaybe-uninitialized]
   19 |         cout<<j<<" "<<maxn<<endl<<k<<" "<<minn;
      |                  ^~~
foo.cc:6:13: note: 'j' was declared here
    6 |         int j,k;
      |             ^
foo.cc:19:38: warning: 'k' may be used uninitialized [-Wmaybe-uninitialized]
   19 |         cout<<j<<" "<<maxn<<endl<<k<<" "<<minn;
      |                                      ^~~
foo.cc:6:15: note: 'k' was declared here
    6 |         int j,k;
      |               ^
# 状态 耗时 内存占用
#1 Accepted 2ms 536.0 KiB
#2 Accepted 3ms 536.0 KiB
#3 Accepted 2ms 324.0 KiB
#4 Accepted 2ms 536.0 KiB

信息

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