记录详情

Accepted

foo.cc: In function ‘void FindiMinPos(int*, int)’:
foo.cc:11:28: warning: unused variable ‘num’ [-Wunused-variable]
   11 |         int i,min=999999,k,num;
      |                            ^~~
foo.cc:20:18: warning: ‘k’ may be used uninitialized [-Wmaybe-uninitialized]
   20 |         cout<<k<<" ";
      |                  ^~~
foo.cc:11:26: note: ‘k’ was declared here
   11 |         int i,min=999999,k,num;
      |                          ^
# 状态 耗时 内存占用
#1 Accepted 3ms 324.0 KiB
#2 Accepted 3ms 536.0 KiB
#3 Accepted 3ms 536.0 KiB
#4 Accepted 2ms 536.0 KiB
#5 Accepted 2ms 320.0 KiB

信息

递交者
类型
递交
题目
A9-2 数组中最小正数的下标
比赛
2024-3-22 信息教师练习赛(3)
语言
C++
递交时间
2024-03-26 16:05:54
评测时间
2024-03-26 16:05:54
评测机
分数
100
总耗时
14ms
峰值内存
536.0 KiB