记录详情

Accepted

/in/foo.cc: In function 'int FindMax(int, int*)':
/in/foo.cc:15:9: warning: 'num' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return num;
         ^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:27:19: warning: 'num' may be used uninitialized in this function [-Wmaybe-uninitialized]
  cout<<FindMax(n,b)<<endl;
                   ^
# 状态 耗时 内存占用
#1 Accepted 1ms 376.0 KiB
#2 Accepted 2ms 404.0 KiB
#3 Accepted 1ms 336.0 KiB
#4 Accepted 1ms 376.0 KiB
#5 Accepted 1ms 376.0 KiB

信息

递交者
类型
递交
题目
A7-3 数组的极值下标函数
比赛
2024程序设计与竞赛作业赛第一场(喜相逢)
语言
C++
递交时间
2024-10-06 14:23:40
评测时间
2024-10-06 14:23:40
评测机
分数
100
总耗时
8ms
峰值内存
404.0 KiB