记录详情

Accepted

/in/foo.cc: In function 'int FindiMinPos(int*, int)':
/in/foo.cc:21:9: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return k;
         ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:35:27: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized]
  cout<<FindiMinPos(num2,n2)<<endl;
                           ^
/in/foo.cc:34:30: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized]
  cout<<FindiMinPos(num1,n1)<<" ";
                              ^~~
# 状态 耗时 内存占用
#1 Accepted 1ms 360.0 KiB
#2 Accepted 1ms 328.0 KiB
#3 Accepted 1ms 376.0 KiB
#4 Accepted 1ms 356.0 KiB
#5 Accepted 1ms 360.0 KiB

信息

递交者
类型
递交
题目
A9-2 数组中最小正数的下标
比赛
2024程序设计与竞赛作业赛第一场(喜相逢)
语言
C++
递交时间
2024-09-26 23:36:15
评测时间
2024-09-26 23:36:15
评测机
分数
100
总耗时
7ms
峰值内存
376.0 KiB