Accepted

foo.cc: In function ‘int main()’:
foo.cc:16:7: warning: ‘v’ may be used uninitialized [-Wmaybe-uninitialized]
   16 | cout<<v;
      |       ^
foo.cc:5:27: note: ‘v’ was declared here
    5 | int n,a[10005],maxn=-1000,v;
      |                           ^
# 状态 耗时 内存占用
#1 Accepted 3ms 536.0 KiB
#2 Accepted 3ms 764.0 KiB
#3 Accepted 2ms 324.0 KiB
#4 Accepted 2ms 324.0 KiB
#5 Accepted 2ms 536.0 KiB

信息

递交者
类型
递交
题目
P1048 A7-3 数组的极值下标函数
语言
C++
递交时间
2024-07-19 19:32:24
评测时间
2024-07-19 19:32:24
评测机
分数
100
总耗时
14ms
峰值内存
764.0 KiB